Bash-5.2 patch 11: reset readline timeout after read -e -t

This commit is contained in:
Chet Ramey
2022-11-23 17:16:41 -05:00
parent 6014c93f34
commit a6435a3c50
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -167,6 +167,9 @@ reset_timeout ()
/* Cancel alarm before restoring signal handler. */
if (read_timeout)
shtimer_clear (read_timeout);
#if defined (READLINE)
rl_clear_timeout ();
#endif
read_timeout = 0;
}
+1 -1
View File
@@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 10
#define PATCHLEVEL 11
#endif /* _PATCHLEVEL_H_ */