* ext/readline/readline.c (Init_readline): don't set 0 to

rl_catch_signals and rl_catch_sigwinch. [Bug #5423]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-06-19 03:00:46 +00:00
Родитель 44058a73a4
Коммит 5f88399018
2 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Tue Jun 19 11:59:56 2012 NARUSE, Yui <naruse@ruby-lang.org>
* ext/readline/readline.c (Init_readline): don't set 0 to
rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
Tue Jun 19 11:52:59 2012 NARUSE, Yui <naruse@ruby-lang.org>
* ext/readline/readline.c (readline_s_get_special_prefixes): suppress

Просмотреть файл

@ -1885,12 +1885,6 @@ Init_readline()
#if defined(HAVE_RL_PRE_INPUT_HOOK)
rl_pre_input_hook = (Function *)readline_pre_input_hook;
#endif
#ifdef HAVE_RL_CATCH_SIGNALS
rl_catch_signals = 0;
#endif
#ifdef HAVE_RL_CATCH_SIGWINCH
rl_catch_sigwinch = 0;
#endif
#ifdef HAVE_RL_CLEAR_SIGNALS
rl_clear_signals();
#endif