ruby-changes:24079
From: naruse <ko1@a...>
Date: Tue, 19 Jun 2012 12:00:56 +0900 (JST)
Subject: [ruby-changes:24079] naruse:r36130 (trunk): * ext/readline/readline.c (Init_readline): don't set 0 to
naruse 2012-06-19 12:00:46 +0900 (Tue, 19 Jun 2012) New Revision: 36130 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36130 Log: * ext/readline/readline.c (Init_readline): don't set 0 to rl_catch_signals and rl_catch_sigwinch. [Bug #5423] Modified files: trunk/ChangeLog trunk/ext/readline/readline.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36129) +++ ChangeLog (revision 36130) @@ -1,3 +1,8 @@ +Tue Jun 19 11:59:56 2012 NARUSE, Yui <naruse@r...> + + * 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@r...> * ext/readline/readline.c (readline_s_get_special_prefixes): suppress Index: ext/readline/readline.c =================================================================== --- ext/readline/readline.c (revision 36129) +++ ext/readline/readline.c (revision 36130) @@ -1885,12 +1885,6 @@ #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/