summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-19 03:00:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-19 03:00:46 +0000
commit5f883990182d2ea589a39f86c96f60df588bd736 (patch)
treeb92fc73fdd156ebc427499a47c1101566198796a /ext/readline
parent44058a73a45df4fd71e28bf6dba6186fa1fb8090 (diff)
* 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
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 97b13b6..622ea8c 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