]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-5.2 patch 11: reset readline timeout after read -e -t
authorChet Ramey <chet.ramey@case.edu>
Wed, 23 Nov 2022 22:16:41 +0000 (17:16 -0500)
committerChet Ramey <chet.ramey@case.edu>
Wed, 23 Nov 2022 22:16:41 +0000 (17:16 -0500)
builtins/read.def
patchlevel.h

index 3c38bc0276981035ce7c05f0c05a08dd22096ca6..ddd91d32d5db90d341f3b9173d07719232826704 100644 (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;
 }
 
index 9ddc79f7e6ec0c6f5e62c6e9cd87084266c3de35..9ff902a0ea8e8d172792f1818682902aa7d62f0e 100644 (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_ */