* ext/readline/readline.c: NetBSD editline does not have
rl_username_completion_function() and rl_completion_matches(). a patch from Takahiro Kambe <taca at back-street.net>. [ruby-dev:30008] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c89e82837f
commit
460d84633f
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 14 18:29:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/readline/readline.c: NetBSD editline does not have
|
||||||
|
rl_username_completion_function() and rl_completion_matches().
|
||||||
|
a patch from Takahiro Kambe <taca at back-street.net>.
|
||||||
|
[ruby-dev:30008]
|
||||||
|
|
||||||
Thu Dec 14 18:20:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu Dec 14 18:20:43 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from
|
* lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from
|
||||||
|
@ -43,6 +43,8 @@ else
|
|||||||
end
|
end
|
||||||
|
|
||||||
have_readline_var("rl_filename_completion_function")
|
have_readline_var("rl_filename_completion_function")
|
||||||
|
have_readline_var("rl_username_completion_function")
|
||||||
|
have_readline_var("rl_completion_matches")
|
||||||
have_readline_var("rl_deprep_term_function")
|
have_readline_var("rl_deprep_term_function")
|
||||||
have_readline_var("rl_completion_append_character")
|
have_readline_var("rl_completion_append_character")
|
||||||
have_readline_var("rl_basic_word_break_characters")
|
have_readline_var("rl_basic_word_break_characters")
|
||||||
|
@ -38,7 +38,11 @@ static ID completion_proc, completion_case_fold;
|
|||||||
|
|
||||||
#ifndef HAVE_RL_FILENAME_COMPLETION_FUNCTION
|
#ifndef HAVE_RL_FILENAME_COMPLETION_FUNCTION
|
||||||
# define rl_filename_completion_function filename_completion_function
|
# define rl_filename_completion_function filename_completion_function
|
||||||
|
#endif
|
||||||
|
#ifndef HAVE_RL_USERNAME_COMPLETION_FUNCTION
|
||||||
# define rl_username_completion_function username_completion_function
|
# define rl_username_completion_function username_completion_function
|
||||||
|
#endif
|
||||||
|
#ifndef HAVE_RL_COMPLETION_MATCHES
|
||||||
# define rl_completion_matches completion_matches
|
# define rl_completion_matches completion_matches
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user