Commit Graph

272 Commits

Author SHA1 Message Date
Chet Ramey b35866a289 updated translations; documentation updates; update copyright dates 2025-06-27 14:07:28 -04:00
Chet Ramey a6767763de fix for multiple assignment statements containing nofork comsubs preceding a command; fix for possible issue with invalid bash input fd 2025-03-31 09:58:59 -04:00
Chet Ramey fffa5d0e7c fix some exec builtin duplicate error messages; add LIBRARY_SOURCE back to tags and TAGS make targets 2024-11-01 14:12:16 -04:00
Chet Ramey 4917f2859c fixes for a couple of autoconf macros; update exit builtin for POSIX interp 1602; include more info in EOF error message when parsing compound command; update Makefiles by removing some variables, initializing others; update dependencies on version.h 2024-10-28 15:05:35 -04:00
Chet Ramey 254081c097 fix for set -e and compound commands inverting return status; tty fix for fg' from a key binding; posix mode wait -n' can return notified jobs; off-by-one error in history word tokenization; new configure option to set bash_source_fullpath 2024-09-27 12:00:46 -04:00
Chet Ramey e45ec6f76b new bash_source_fullpath shell option; documentation updates for wait builtin 2024-07-30 11:18:17 -04:00
Chet Ramey d5ef283cbd fix issue with invalidating pointer to last procsub; fix boundary issues with small reallocs 2024-07-26 09:30:30 -04:00
Chet Ramey dbb48b9786 avoid storing extra copy of function bodies; fix some minor memory leaks 2024-06-04 12:23:18 -04:00
Chet Ramey f65ed506d4 fix issue with interupting timed functions; fix for parsing comsubs inside arith for commands; allow break and continue inside arith for expressions; fix for case-insensitive completion with multibyte chars; fix some minor memory leaks; reset read buffer if it returns partial results on EINTR; fix for undo in execute-named-command 2024-06-03 09:09:11 -04:00
Chet Ramey 1f42d15864 fix for internal redirection flags colliding with open/fcntl flags; call memfd_create with MFD_NOEXEC_SEAL; fix for setting $BASH in su-started login shell; fix for unsetting $REPLY after nofork comsubs 2024-05-01 11:39:51 -04:00
Chet Ramey 136cdf8108 posix change for cd; fix for command word completion where the command names contain spaces; fix for error-and-output redirection with quoted filename 2024-04-10 21:17:29 -04:00
Chet Ramey 167a9248f9 add more overflow handling for printf builtin; start incorporating C23 stdckdint ; rework PRIdMAX replacements 2024-03-15 12:55:39 -04:00
Chet Ramey e1dd98a1db additional error checking for declare; changes for MSYS32; add support for unlocked-io stdio functions; several C23 changes 2024-02-16 10:55:13 -05:00
Chet Ramey 6bd75b8d63 performance improvements for large history lists; fix problem with not unwind-protecting current command and name while executing 2024-02-14 09:43:03 -05:00
Chet Ramey dc97ded434 fix nofork comsub overwriting currently executing command; free readline undo list on signal in callback mode; avoid disabling readonly when assigning variables from the environment; fix bug with shell-expand-line and $'...' quoting inside command substitutions; add `bash-vi-complete' as bindable command name 2024-02-09 10:30:02 -05:00
Chet Ramey d5ab50bc02 fix for ssh infinite loop when SSH_SOURCE_BASHRC is defined and bash is run in a comsub in .bashrc; implement posix interp 1009 in posix mode 2023-12-04 16:40:00 -05:00
Chet Ramey b30389070a renamed several functions beginning with legal_; changed all callers 2023-11-06 09:26:02 -05:00
Chet Ramey b348b871b4 small change to brace expansion to inhibit some error messages; changes to printf builtin for precision and field widths 2023-10-23 09:50:02 -04:00
Chet Ramey dc91b3f509 fixes for read builtin with backslash escapes; change history builtin behavior when HISTFILE is unset or null; change to compopt to make it use the name from the actual compspec it uses; fix for executing coproc in functions; fix for array variables and declare -g 2023-08-04 11:06:57 -04:00
Chet Ramey 7f7ee0e9c6 fix for leak when completing command word with glob pattern that matches multiple files; preserve export attribute when unsetting local variable in case it is reset; fix for using nl_langinfo when performing charset conversions 2023-07-17 17:35:59 -04:00
Chet Ramey 6a9e77e881 fix up semantics of assigning to noassign variables; fix error message in arithmetic noeval mode; add shared memory option to anonymous files; fix static linking config in configure 2023-07-03 10:26:23 -04:00
Chet Ramey 4e4cebb6dc fix for nofork comsub command printing; fix for crash caused by tempvar assignment converted to an array in a function 2023-06-20 11:10:39 -04:00
Chet Ramey fc29a02404 new BASH_MONOSECONDS, BASH_TRAPSIG variables; make checkwinsize work in subshells of interactive shells; fix for declare -f and function names containing `=' 2023-06-20 10:10:11 -04:00
Chet Ramey 76112093ec extend assoc_expand_once to indexed arrays; rename to array_expand_once, keeping old name as a synonym; udpate shopt documentation 2023-06-13 11:44:33 -04:00
Chet Ramey d06fefb2ba new GLOBSORT variable 2023-04-16 16:13:14 -04:00
Chet Ramey 877ff72675 rest of work to convert unwind-protects to ANSI/ISO C; size_t updates; function prototype changes for ANSI/ISO C 2023-04-03 12:07:25 -04:00
Chet Ramey 64b2b7c08d fixes for glibc time/gettimeofday issue; fix issue with history file containing one line too few if saving timestamps; fix for signal arriving while displaying readline completions 2023-03-27 09:28:12 -04:00
Chet Ramey 349e21043e local variables no longer modify external variables if the variable is supplied as a variable assignment preceding a function call; assignments in compound assignment statements don't undergo brace expansion 2023-02-27 10:55:06 -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 b2613ad1c0 third set of ANSI C changes: const function parameters 2023-01-03 11:59:43 -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 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 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 52ae6c3f5d fix for local variable problem in EXIT trap; add sed-like behavior for null patterns in pattern substitution 2022-07-19 11:42:23 -04:00
Chet Ramey ebeba87477 fix mem leak with local BASH_REMATCH 2022-06-03 11:33:35 -04:00
Chet Ramey 6c4a9a5cb7 efficiency change to command hashing; fix pointer aliasing problem with readline history-search-backward 2022-03-01 09:32:15 -05:00
Chet Ramey d70b53393e new variables to control the active region color; minor fix to $? 2022-02-09 10:21:04 -05:00
Chet Ramey 1d17c604fc changes to make builtins that perform assignments work better with arbitrary associative array keys 2022-01-04 10:54:28 -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 5f2dd5ff95 fix for posix semantics for the := word expansion when assigning array elements 2021-12-14 14:18:00 -05:00
Chet Ramey 567c0bc2ed fix to make += work with dynamic integer vars like RANDOM 2021-12-13 09:37:23 -05:00
Chet Ramey d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey 72206eb271 new alternate array implementation that prioritizes access time over sparse arrays; selectable via configure 2021-09-23 16:14:29 -04:00
Chet Ramey 2adf06d9f8 minor fixes; readline API change for rl_completer_word_break_characters ; readline fixes for MSVC 2021-08-19 15:48:31 -04:00
Chet Ramey 6650b4de61 fixes for minor memory leaks 2021-07-19 09:58:33 -04:00
Chet Ramey 046d0cc93b allow builtins to assign to associative arrays using @ or * as keys; fixes to glob completion of command words 2021-04-28 11:30:31 -04:00
Chet Ramey fb4ddc2d2b default value for BASH_LOADABLES_PATH; other minor changes 2021-04-12 16:44:43 -04:00
Chet Ramey c3b1868126 commit bash-20210217 snapshot 2021-02-24 15:32:34 -05:00