commit | d9ff74e51dc0ede17116b590e2e544d1a2b7fe39 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Oct 26 19:16:46 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Oct 26 19:16:46 2009 +0000 |
tree | 50eb594796a523d7cd813174516307b1403da851 | |
parent | c1bdf891458d2f37aa90b27f3ea85379cbb0d967 [diff] [blame] |
Some platforms have rl_completion_append_character but not rl_completion_suppress_append. Reported by Mark D.
diff --git a/Modules/readline.c b/Modules/readline.c index cd79cc6..2db6cfb 100644 --- a/Modules/readline.c +++ b/Modules/readline.c
@@ -803,6 +803,8 @@ { #ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER rl_completion_append_character ='\0'; +#endif +#ifdef HAVE_RL_COMPLETION_SUPPRESS_APPEND rl_completion_suppress_append = 0; #endif Py_XDECREF(begidx);