diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-26 16:25:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-26 16:25:15 +0000 |
commit | 2b08fc19478c616a79a27efc792aaf6f7190ba1a (patch) | |
tree | 3b8611aa58a1a0e8900b58117746a334bfdb38fb /ext/readline/extconf.rb | |
parent | c362380d9f8ee515571f920e269a88009b6b6885 (diff) |
* ext/readline/readline.c (readline_getc): use rl_getc_function if
possible, to get rid of hang up at EOF without a newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline/extconf.rb')
-rw-r--r-- | ext/readline/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb index 6eb145f130..faf539fffc 100644 --- a/ext/readline/extconf.rb +++ b/ext/readline/extconf.rb @@ -46,6 +46,7 @@ else end end +have_readline_func("rl_getc_function") have_readline_func("rl_filename_completion_function") have_readline_func("rl_username_completion_function") have_readline_func("rl_completion_matches") |