From: Chet Ramey Date: Wed, 23 Nov 2022 22:16:41 +0000 (-0500) Subject: Bash-5.2 patch 11: reset readline timeout after read -e -t X-Git-Tag: bash-5.3-alpha~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6435a3c505c7759430646fd426c17c69963c36b;p=thirdparty%2Fbash.git Bash-5.2 patch 11: reset readline timeout after read -e -t --- diff --git a/builtins/read.def b/builtins/read.def index 3c38bc027..ddd91d32d 100644 --- a/builtins/read.def +++ b/builtins/read.def @@ -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; } diff --git a/patchlevel.h b/patchlevel.h index 9ddc79f7e..9ff902a0e 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -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_ */