From 5f883990182d2ea589a39f86c96f60df588bd736 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 19 Jun 2012 03:00:46 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/readline/readline.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f78d1e2a6d..860c76e448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 19 11:59:56 2012 NARUSE, Yui + + * 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 * ext/readline/readline.c (readline_s_get_special_prefixes): suppress diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 97b13b64d9..622ea8c615 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -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