Mageia Bugzilla – Attachment 5101 Details for
Bug 13150
Python interpreter 'segmentation fault' when pressing twice 'DEL'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch from http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00031.html
readline-6.3-del-key.patch (text/plain), 472 bytes, created by
Dimitrios Glentadakis
on 2014-04-06 06:35:37 CEST
(
hide
)
Description:
Patch from http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00031.html
Filename:
MIME Type:
Creator:
Dimitrios Glentadakis
Created:
2014-04-06 06:35:37 CEST
Size:
472 bytes
patch
obsolete
>--- readline-6.3.orig/readline.c 2013-10-28 19:58:06.000000000 +0100 >+++ readline-6.3/readline.c 2014-04-06 06:06:54.296655320 +0200 >@@ -744,7 +744,7 @@ > r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ)); > > RL_CHECK_SIGNALS (); >- if (r == 0) /* success! */ >+ if (r == 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ > { > _rl_keyseq_chain_dispose (); > RL_UNSETSTATE (RL_STATE_MULTIKEY);
--- readline-6.3.orig/readline.c 2013-10-28 19:58:06.000000000 +0100 +++ readline-6.3/readline.c 2014-04-06 06:06:54.296655320 +0200 @@ -744,7 +744,7 @@ r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ)); RL_CHECK_SIGNALS (); - if (r == 0) /* success! */ + if (r == 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ { _rl_keyseq_chain_dispose (); RL_UNSETSTATE (RL_STATE_MULTIKEY);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13150
: 5101