diff -U 3 -H -d -r -N -- readline-6.3/patchlevel readline-6.3.mod/patchlevel
old
|
new
|
|
1 | 1 | # Do not edit -- exists only for use by patch |
2 | 2 | |
3 | | 5 |
| 3 | 3 |
diff -U 3 -H -d -r -N -- readline-6.3/readline.c readline-6.3.mod/readline.c
old
|
new
|
|
744 | 744 | r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ)); |
745 | 745 | |
746 | 746 | RL_CHECK_SIGNALS (); |
747 | | if (r == 0) /* success! */ |
| 747 | /* We only treat values < 0 specially to simulate recursion. */ |
| 748 | if (r >= 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ |
748 | 749 | { |
749 | 750 | _rl_keyseq_chain_dispose (); |
750 | 751 | RL_UNSETSTATE (RL_STATE_MULTIKEY); |
… |
… |
|
964 | 965 | #if defined (VI_MODE) |
965 | 966 | if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap && |
966 | 967 | key != ANYOTHERKEY && |
967 | | rl_key_sequence_length == 1 && /* XXX */ |
| 968 | _rl_dispatching_keymap == vi_movement_keymap && |
968 | 969 | _rl_vi_textmod_command (key)) |
969 | 970 | _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign); |
970 | 971 | #endif |
diff -U 3 -H -d -r -N -- readline-6.3/util.c readline-6.3.mod/util.c
old
|
new
|
|
476 | 476 | return (strcpy ((char *)xmalloc (1 + (int)strlen (s)), (s))); |
477 | 477 | } |
478 | 478 | |
| 479 | #if defined (DEBUG) |
479 | 480 | #if defined (USE_VARARGS) |
480 | 481 | static FILE *_rl_tracefp; |
481 | 482 | |
… |
… |
|
538 | 539 | _rl_tracefp = fp; |
539 | 540 | } |
540 | 541 | #endif |
| 542 | #endif /* DEBUG */ |
541 | 543 | |
542 | 544 | |
543 | 545 | #if HAVE_DECL_AUDIT_USER_TTY && defined (ENABLE_TTY_AUDIT_SUPPORT) |