convert TMOUT input timeout handling to use native readline timeouts if readline is being used; change TMOUT SIGALRM processing not to run in a signal handler context to exit; fix for adding multiline commands containing |& to the history list; history -r should not change history_lines_this_session if reading from the history file

This commit is contained in:
Chet Ramey committed 2026-09-08 12:41:47 -04:00
1 parent 81ddb6474b
commit f26caaa178
13 files changed
+261 -16

No files matched your search

+3 -1
View File
@@ -1,6 +1,6 @@
/* shell.h -- The data structures used by the shell */
/* Copyright (C) 1993-2024 Free Software Foundation, Inc.
/* Copyright (C) 1993-2026 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -114,6 +114,8 @@ extern int indirection_level;
extern int shell_compatibility_level;
extern const int default_compatibility_level;
extern int running_under_emacs;
extern int input_timeout_set;
extern volatile sig_atomic_t input_timeout_seen;
extern int pretty_print_mode;