diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-11-23 17:16:41 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-11-23 17:16:41 -0500 |
commit | a6435a3c505c7759430646fd426c17c69963c36b (patch) | |
tree | ac8f7ba8124a3a87b23c6c1adc8131d18b6e07a9 | |
parent | 6014c93f34b3f1111f67ea9782850cde460968b4 (diff) | |
download | bash-a6435a3c505c7759430646fd426c17c69963c36b.tar.gz |
Bash-5.2 patch 11: reset readline timeout after read -e -t
-rw-r--r-- | builtins/read.def | 3 | ||||
-rw-r--r-- | patchlevel.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/builtins/read.def b/builtins/read.def index 3c38bc02..ddd91d32 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 9ddc79f7..9ff902a0 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_ */ |