commit bash-20120921 snapshot

This commit is contained in:
Chet Ramey
2012-10-10 09:37:30 -04:00
parent f14388d3aa
commit 47b599dc52
23 changed files with 4829 additions and 53 deletions
+7
View File
@@ -80,6 +80,10 @@ extern int errno;
character input. */
rl_hook_func_t *rl_event_hook = (rl_hook_func_t *)NULL;
/* A function to replace _rl_input_available for applications using the
callback interface. */
rl_hook_func_t *rl_input_available_hook = (rl_hook_func_t *)NULL;
rl_getc_func_t *rl_getc_function = rl_getc;
static int _keyboard_input_timeout = 100000; /* 0.1 seconds; it's in usec */
@@ -293,6 +297,9 @@ _rl_input_available ()
#endif
int tty;
if (rl_input_available_hook)
return (*rl_input_available_hook) ();
tty = fileno (rl_instream);
#if defined (HAVE_SELECT)