Commit Graph

344 Commits

Author SHA1 Message Date
Chet Ramey a5d2617c7a fixes for SIGINT handling in asynchronous lists 2023-01-17 13:31:46 -05:00
Chet Ramey 8fd8cd8f7b set of portability changes from lint/asan/ubsan 2023-01-07 13:18:20 -05:00
Chet Ramey 2e725f7346 final set of ANSI C changes 2023-01-05 15:09:06 -05:00
Chet Ramey 5b512e1121 fourth set of ANSI C changes: size_t; rest globskipdots to enabled default in subshells 2023-01-04 09:18:59 -05:00
Chet Ramey a61ffa78ed second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword 2023-01-03 10:23:11 -05:00
Chet Ramey c4a2e37470 fix comsub inside parameter expansion in here-document; fix readline longjmp botch; posix change for unset non-identifier; posix change for double quotes inside backquote comsub in here-document; add missing posix pieces to umask builtin 2022-12-19 09:38:15 -05:00
Chet Ramey 49918d90cd fix for parameter length expressions for nameref variables expanding to invalid identifiers 2022-12-13 12:57:47 -05:00
Chet Ramey e8652353ae fixes for HAVE_SELECT/HAVE_PSELECT; change some warning messages for nameref loops; run unwind-protects if max function nesting level is exceeded 2022-11-29 09:32:40 -05:00
Chet Ramey 3c9dd45657 fix for memory leak with unset associative array elements; last set of changes to globbing bracket expressions; fix for timing subshell commands 2022-11-23 17:03:34 -05:00
Chet Ramey 31f4d468b6 fix for displaying `local -'; fix for trap and POSIX interp 1602; fix for readline redisplay when the last invisible character in the prompt string is not on the last line 2022-11-07 10:25:28 -05:00
Chet Ramey 88d69b4fa2 fix for @ and * as associative array keys in arithmetic expressions; minor readline callback mode changes 2022-11-02 16:23:12 -04:00
Chet Ramey b48c234286 change to binary file detection; fix for negative fractional read timeout; check more often for terminating signals in subshells; clear process substitutions in subshells; wait only for last procsub if `wait' is called without arguments 2022-10-31 10:08:36 -04:00
Chet Ramey 6711d2dc77 fix for interactive shell parser reset issue; fix for nested array subscript quoting issue; fix for process substitutions being closed to early in for loops 2022-10-24 10:09:52 -04:00
Chet Ramey 055a4552c9 change to readline callback signal handling; fix message when popping shell function context; handle new terminating signals inside terminating signal handler; fix to pattern substitution with null replacement and null string; fix to alias expansion when we get a SIGINT while entering a command substitution in an interactive shell 2022-10-15 13:34:51 -04:00
Chet Ramey 55a8311420 fix for line numbers for nested function declarations; fix execve error for ENOENT 2022-10-11 16:17:22 -04:00
Chet Ramey 22f21b760e fixes for extended glob in compat mode; fix for brackets appearing in nested parameter expansions 2022-10-07 17:46:16 -04:00
Chet Ramey 43e861c2cd fix crash with unset arrays in arithmetic constructs ; change to avoid printing foreground job statuses when we don't want to 2022-10-04 11:58:54 -04:00
Chet Ramey 7547afdf73 fix for exec builtin when the command is not found 2022-08-23 09:58:22 -04:00
Chet Ramey 9c317a6ae1 parse extended glob patterns in command substitutions in compatibility mode, even if extglob is not set 2022-08-02 11:16:48 -04:00
Chet Ramey 67e47f224c changes to text representation of parsed command substitution; small changes to tests 2022-07-06 10:05:59 -04:00
Chet Ramey eb2d46d77c updated translations; minor change to DEBUG trap 2022-06-22 10:51:18 -04:00
Chet Ramey eed646cc60 fix race condition in builtins Makefile 2022-05-31 09:55:01 -04:00
Chet Ramey daff9ecae9 fix for EXIT trap in -c command; suspend -f now suspends even if job control is not enabled 2022-05-18 09:50:42 -04:00
Chet Ramey 7a8455e421 fix crash from compgen in a non-interactive shell; globstar option now works with complete -G; wait -p changes; some int->size_t changes 2022-04-19 10:45:39 -04:00
Chet Ramey b325b0e96b more changes for here-docs and $'...'; command optimization updates 2022-01-31 09:53:03 -05:00
Chet Ramey 186129835e new shell option to force globbing never to return .' and ..' as matches 2022-01-04 10:11:48 -05:00
Chet Ramey 701f36c2c3 more changes to avoid expanding associative array subscripts twice; internal debugging changes 2021-12-22 16:05:39 -05:00
Chet Ramey b2b78a6348 fixes to LINENO, read -n, command substitution and backslash-escaped newlines 2021-12-20 20:03:26 -05:00
Chet Ramey fffe80d438 new getconf shell builtin 2021-11-30 10:41:22 -05:00
Chet Ramey 25e43d2c0a removed some commented-out code dependent on the compatibility level now that the version is 5.2 2021-11-22 10:11:06 -05:00
Chet Ramey d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey b06200f7a1 minor fixes to command -p, posix-mode tilde expansion, line numbers when in ERR traps 2021-11-04 15:45:55 -04:00
Chet Ramey 4657c04050 internal changes to prevent `unset' from scanning associative array subscripts multiple times 2021-11-01 10:42:50 -04:00
Chet Ramey 1fff64acdc changes to new pattern substitution replacement; documentation updates 2021-10-18 10:57:20 -04:00
Chet Ramey f74291e6d1 new pattern substitution replacement feature; fix for problem with unset builtin and associative arrays 2021-10-08 08:21:16 -04:00
Chet Ramey f188aa6a01 enable support for using `&' in the pattern substitution replacement string 2021-10-04 15:30:21 -04:00
Chet Ramey fa1e33671d prompt reprinting fixes for readline when screenwidth is less than prompt length; redirection fixes 2021-09-27 10:29:22 -04:00
Chet Ramey 9928dcb48f changes to command timing with errexit; binary file checks; treat exit builtin slightly differently when using bash -c 2021-09-19 13:44:55 -04:00
Chet Ramey 0edd0a9183 "enable name" when name is not a shell builtin attempts to load it from a shared object 2021-08-02 12:07:40 -04:00
Chet Ramey 6650b4de61 fixes for minor memory leaks 2021-07-19 09:58:33 -04:00
Chet Ramey 2047e28584 add numeric arguments to bind -x commands and READLINE_ARGUMENT; minor fixes 2021-05-24 16:09:47 -04:00
Chet Ramey b304aabc92 additional changes to avoid array subscript double expansion in arithmetic contexts 2021-05-10 09:58:14 -04:00
Chet Ramey 35bc7025c1 first set of changes to eliminate array subscript double expansion in math contexts 2021-05-07 10:56:24 -04:00
Chet Ramey b37342db4f documentation tweaks for clarity 2021-03-22 11:16:34 -04:00
Chet Ramey 08871a7780 commit bash-20210201 snapshot 2021-02-06 18:27:50 -05:00
Chet Ramey fcad1d1e84 commit bash-20210127 snapshot 2021-02-01 15:09:07 -05:00
Chet Ramey a9cf0031ef commit bash-20210112 snapshot 2021-01-15 14:39:20 -05:00
Chet Ramey 63706353d7 commit bash-20210107 snapshot 2021-01-12 09:18:30 -05:00
Chet Ramey 16d2c50605 commit bash-20201230 snapshot 2021-01-07 14:25:24 -05:00
Chet Ramey 3c5683a47b commit bash-20201218 snapshot 2020-12-25 18:17:33 -05:00