commit bash-20110513 snapshot

This commit is contained in:
Chet Ramey
2011-12-29 13:08:05 -05:00
parent bfd181e794
commit f4f5e1c2b8
31 changed files with 6412 additions and 1481 deletions
+13 -2
View File
@@ -540,8 +540,6 @@ initialize_readline ()
rl_filename_dequoting_function = bash_dequote_filename;
rl_char_is_quoted_p = char_is_quoted;
rl_event_hook = bash_event_hook;
#if 0
/* This is superfluous and makes it impossible to use tab completion in
vi mode even when explicitly binding it in ~/.inputrc. sv_strict_posix()
@@ -560,6 +558,18 @@ bashline_reinitialize ()
bash_readline_initialized = 0;
}
void
bashline_set_event_hook ()
{
rl_event_hook = bash_event_hook;
}
void
bashline_reset_event_hook ()
{
rl_event_hook = 0;
}
/* On Sun systems at least, rl_attempted_completion_function can end up
getting set to NULL, and rl_completion_entry_function set to do command
word completion if Bash is interrupted while trying to complete a command
@@ -3743,6 +3753,7 @@ bash_dequote_text (text)
static int
bash_event_hook ()
{
itrace("bash_event_hook");
CHECK_TERMSIG;
}