Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 504440 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +3 lines)
Line  Link Here
0
-- a/readline.c
0
++ b/readline.c
Lines 744-750 _rl_dispatch_callback (cxt) Link Here
744
    r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ));
744
    r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ));
745
745
746
  RL_CHECK_SIGNALS ();
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
      _rl_keyseq_chain_dispose ();
750
      _rl_keyseq_chain_dispose ();
750
      RL_UNSETSTATE (RL_STATE_MULTIKEY);
751
      RL_UNSETSTATE (RL_STATE_MULTIKEY);

Return to bug 504440