aboutsummaryrefslogtreecommitdiffstats
path: root/ext/readline/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-26 16:25:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-26 16:25:15 +0000
commit2b08fc19478c616a79a27efc792aaf6f7190ba1a (patch)
tree3b8611aa58a1a0e8900b58117746a334bfdb38fb /ext/readline/extconf.rb
parentc362380d9f8ee515571f920e269a88009b6b6885 (diff)
downloadruby-2b08fc19478c616a79a27efc792aaf6f7190ba1a.tar.gz
* 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.rb1
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")