mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/readline/readline.c (Init_readline): rl_catch_signals does
not exist on some platform like Mac OS X 10.5. * ext/readline/extconf.rb: checks existance of rl_catch_signals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
229b4e4c37
commit
37859b5227
3 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Sat Jul 18 00:23:47 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* ext/readline/readline.c (Init_readline): rl_catch_signals does
|
||||
not exist on some platform like Mac OS X 10.5.
|
||||
|
||||
* ext/readline/extconf.rb: checks existance of rl_catch_signals.
|
||||
|
||||
Fri Jul 17 22:37:22 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/socket/socket.c (socket_s_ip_address_list): drop inactive
|
||||
|
|
|
@ -66,6 +66,7 @@ have_readline_var("rl_point")
|
|||
# workaround for native windows.
|
||||
/mswin|bccwin|mingw/ !~ RUBY_PLATFORM && have_readline_var("rl_event_hook")
|
||||
/mswin|bccwin|mingw/ !~ RUBY_PLATFORM && have_readline_var("rl_catch_sigwinch")
|
||||
/mswin|bccwin|mingw/ !~ RUBY_PLATFORM && have_readline_var("rl_catch_signals")
|
||||
have_readline_func("rl_cleanup_after_signal")
|
||||
have_readline_func("rl_clear_signals")
|
||||
have_readline_func("rl_set_screen_size")
|
||||
|
|
|
@ -1451,7 +1451,9 @@ Init_readline()
|
|||
#elif defined HAVE_RL_EVENT_HOOK
|
||||
rl_event_hook = readline_event;
|
||||
#endif
|
||||
#ifdef HAVE_RL_CATCH_SIGNALS
|
||||
rl_catch_signals = 0;
|
||||
#endif
|
||||
#ifdef HAVE_RL_CATCH_SIGWINCH
|
||||
rl_catch_sigwinch = 0;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue