]> git.ipfire.org Git - thirdparty/bash.git/log
thirdparty/bash.git
10 days agoupdated translations; documentation updates; update copyright dates devel
Chet Ramey [Fri, 27 Jun 2025 18:07:28 +0000 (14:07 -0400)] 
updated translations; documentation updates; update copyright dates

3 weeks agoupdated translations; back out change allowing quoted characters and process substitu...
Chet Ramey [Mon, 16 Jun 2025 17:47:40 +0000 (13:47 -0400)] 
updated translations; back out change allowing quoted characters and process substitution words in function names; rework readline change for GNU Hurd and ncurses

4 weeks agoaddition to POSIX mode documentation; new translations; update copyrights on some...
Chet Ramey [Fri, 6 Jun 2025 16:16:11 +0000 (12:16 -0400)] 
addition to POSIX mode documentation; new translations; update copyrights on some files; update formatted documentation; changes to cut/lcut loadable builtins when supplied -a ARRAY

5 weeks agofix for namerefs referencing an unset array index with nounset enabled; addition...
Chet Ramey [Fri, 30 May 2025 14:11:03 +0000 (10:11 -0400)] 
fix for namerefs referencing an unset array index with nounset enabled; addition to buildconf.h.in for C23 compilers

7 weeks agosome fixes for static analysis findings; fix for brace expansion being too greedy...
Chet Ramey [Mon, 19 May 2025 13:10:57 +0000 (09:10 -0400)] 
some fixes for static analysis findings; fix for brace expansion being too greedy checking sequence expressions; fix for strip targets when cross-compiling

2 months agofix for command substitution string parsing that resulted in top-level unwind-protect...
Chet Ramey [Sun, 4 May 2025 21:21:25 +0000 (17:21 -0400)] 
fix for command substitution string parsing that resulted in top-level unwind-protects being run in the wrong spot; fix for delimiter byte being part of invalid multibyte character in read builtin

2 months agocheck for delimiter_depth being 0 before popping off the stack (reset_parser resets...
Chet Ramey [Wed, 30 Apr 2025 20:19:08 +0000 (16:19 -0400)] 
check for delimiter_depth being 0 before popping off the stack (reset_parser resets it); make EOFs while reading here-doc delimiters sticky; when reading arith command, push back a character after the first closing paren that isn't a second close paren to fix backslash issue

2 months agofix for read builtin and invalid multibyte characters followed by the delimiter;...
Chet Ramey [Tue, 22 Apr 2025 14:39:43 +0000 (10:39 -0400)] 
fix for read builtin and invalid multibyte characters followed by the delimiter; updated formatted documentation; new bash.pot file with updated strings; updated translations

2 months agofix to preserve blank lines when reading multiline entries from a history file; fix...
Chet Ramey [Fri, 18 Apr 2025 15:08:27 +0000 (11:08 -0400)] 
fix to preserve blank lines when reading multiline entries from a history file; fix for completion with quoted command delimiters; updated translations

2 months agoadd math function calls to fltexpr; HISTFILESIZE documentation updates; help text...
Chet Ramey [Wed, 9 Apr 2025 15:14:41 +0000 (11:14 -0400)] 
add math function calls to fltexpr; HISTFILESIZE documentation updates; help text updates for exxport, history; update translations

3 months agominor updates for 5.3-rc1 release
Chet Ramey [Fri, 4 Apr 2025 14:50:15 +0000 (10:50 -0400)] 
minor updates for 5.3-rc1 release

3 months agofix for multiple assignment statements containing nofork comsubs preceding a command...
Chet Ramey [Mon, 31 Mar 2025 13:58:59 +0000 (09:58 -0400)] 
fix for multiple assignment statements containing nofork comsubs preceding a command; fix for possible issue with invalid bash input fd

3 months agofix for invalid brace sequence expressions; cosmetic fix to help builtin; documentati...
Chet Ramey [Mon, 24 Mar 2025 21:07:43 +0000 (17:07 -0400)] 
fix for invalid brace sequence expressions; cosmetic fix to help builtin; documentation and copyright updates; bump version to bash-5.3-rc1; cosmetic locale fixes

4 months agodocumentation updates for arithmetic expansion and array subscripts; update BASH_COMM...
Chet Ramey [Fri, 7 Mar 2025 15:23:58 +0000 (10:23 -0500)] 
documentation updates for arithmetic expansion and array subscripts; update BASH_COMMAND for subshells; fix potential file descriptor leak in here document pipes

4 months agorevert change that suppressed array subscript expansion when called by the let builti...
Chet Ramey [Mon, 24 Feb 2025 16:36:49 +0000 (11:36 -0500)] 
revert change that suppressed array subscript expansion when called by the let builtin; fix default file descriptor for <> redirection when printing command

4 months agofix issue with redirections to bash input file descriptor; new minimal chmod builtin...
Chet Ramey [Wed, 12 Feb 2025 16:18:16 +0000 (11:18 -0500)] 
fix issue with redirections to bash input file descriptor; new minimal chmod builtin; posix mode change for kill builtin return status; perform additional validation on brace expansion sequence expressions

4 months agofix error return from wait builtin in a subshell when there are no children of this...
Chet Ramey [Mon, 10 Feb 2025 14:27:45 +0000 (09:27 -0500)] 
fix error return from wait builtin in a subshell when there are no children of this shell

5 months agoposix change for undoing redirections after failed exec; change readline to set lines...
Chet Ramey [Tue, 28 Jan 2025 15:15:16 +0000 (10:15 -0500)] 
posix change for undoing redirections after failed exec; change readline to set lines and columns after SIGTSTP/SIGCONT

5 months agotaking the length of an unset variable subscripted with anything but @ or * is a...
Chet Ramey [Fri, 24 Jan 2025 16:21:16 +0000 (11:21 -0500)] 
taking the length of an unset variable subscripted with anything but @ or * is a fatal error; quote results of u prompt expansion; posix mode changes for exiting on -e when in a shell function; fix readline redisplay issue when bold prompt spans multiple lines

5 months agofix issue with internally quoting multibyte characters; the let builtin now suppresse...
Chet Ramey [Fri, 17 Jan 2025 16:41:49 +0000 (11:41 -0500)] 
fix issue with internally quoting multibyte characters; the let builtin now suppresses additional array subscript expansion; small change to how readline export-completions displays filenames; new loadable builtin to do floating-point arithmetic

5 months agodocumentation updates; test suite updates to reduce extraneous diff output; don't...
Chet Ramey [Thu, 9 Jan 2025 21:13:16 +0000 (16:13 -0500)] 
documentation updates; test suite updates to reduce extraneous diff output; don't export BASHOPTS into running tests

6 months agofix issue with failed history expansion changing the history list offset; fix some...
Chet Ramey [Mon, 30 Dec 2024 15:45:14 +0000 (10:45 -0500)] 
fix issue with failed history expansion changing the history list offset; fix some tests to avoid problems with error messages that differ between systems; fix issue with readline rl_abort not clearing any pending command to execute

6 months agomore documentation updates; fix two issues when displaying readline completions;...
Chet Ramey [Fri, 13 Dec 2024 14:51:46 +0000 (09:51 -0500)] 
more documentation updates; fix two issues when displaying readline completions; fix another use-after-free error with readline undo lists

6 months agoanother set of documentation updates; fix readline problem with history entry undo...
Chet Ramey [Tue, 10 Dec 2024 16:43:08 +0000 (11:43 -0500)] 
another set of documentation updates; fix readline problem with history entry undo list corruption

7 months agoadd warning message for null arg to printf %d; update command -v help string; Makefil...
Chet Ramey [Tue, 26 Nov 2024 16:44:30 +0000 (11:44 -0500)] 
add warning message for null arg to printf %d; update command -v help string; Makefile updates to uninstall directories

7 months agonew readline command `export-completions'; update documentation; update translations...
Chet Ramey [Thu, 21 Nov 2024 15:31:38 +0000 (10:31 -0500)] 
new readline command `export-completions'; update documentation; update translations with new strings; Makefile updates

7 months agoMore Makefile updates; updates for bash-5.3-beta
Chet Ramey [Fri, 15 Nov 2024 16:15:23 +0000 (11:15 -0500)] 
More Makefile updates; updates for bash-5.3-beta

7 months agofix for readline redisplay issue in C locale; fix for small memory leak in termcap...
Chet Ramey [Fri, 8 Nov 2024 16:13:57 +0000 (11:13 -0500)] 
fix for readline redisplay issue in C locale; fix for small memory leak in termcap replacement library; updates to formatted documentation; fix problem with distclean and y.tab.h; Makefile clean targets updates

8 months agochanges to non-incremental search implementation for consistency with incremental...
Chet Ramey [Mon, 4 Nov 2024 22:51:50 +0000 (17:51 -0500)] 
changes to non-incremental search implementation for consistency with incremental search; fix for readline unsetting rl_eof_found; minor man page updates

8 months agofinal set of documentation updates; documentation directory cleanups
Chet Ramey [Sat, 2 Nov 2024 18:50:28 +0000 (14:50 -0400)] 
final set of documentation updates; documentation directory cleanups

8 months agofix some exec builtin duplicate error messages; add LIBRARY_SOURCE back to tags and...
Chet Ramey [Fri, 1 Nov 2024 18:12:16 +0000 (14:12 -0400)] 
fix some exec builtin duplicate error messages; add LIBRARY_SOURCE back to tags and TAGS make targets

8 months agofixes for a couple of autoconf macros; update exit builtin for POSIX interp 1602...
Chet Ramey [Mon, 28 Oct 2024 19:05:35 +0000 (15:05 -0400)] 
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

8 months agodo not require leading . for rl color prefix etension; fix for isearch in single...
Chet Ramey [Sat, 26 Oct 2024 16:39:17 +0000 (12:39 -0400)] 
do not require leading . for rl color prefix etension; fix for isearch in single-byte locales; next set of doc updates (SIGNALS); add warning for invalid job id; allow function names to be non-identifiers in posix mode

8 months agonext set of documentation updates (word splitting), rearrange a test in readline...
Chet Ramey [Tue, 22 Oct 2024 19:40:46 +0000 (15:40 -0400)] 
next set of documentation updates (word splitting), rearrange a test in readline's tilde expansion to avoid touching uninitialized data

8 months agonext set of documentation fixes: update formatting, make filename formatting consiste...
Chet Ramey [Fri, 18 Oct 2024 16:19:48 +0000 (12:19 -0400)] 
next set of documentation fixes: update formatting, make filename formatting consistent, typeset the name readline consistently

8 months agonext set of documentation updates (job control); fix read timeout problem; fix bash...
Chet Ramey [Tue, 15 Oct 2024 14:02:17 +0000 (10:02 -0400)] 
next set of documentation updates (job control); fix read timeout problem; fix bash-source-fullpath default; brace expansion integer overflow fix; fix for help output for loadable builtins

8 months agothird set of documentation updates: readline and history
Chet Ramey [Sat, 12 Oct 2024 18:18:07 +0000 (14:18 -0400)] 
third set of documentation updates: readline and history

8 months agonext set of documentation updates, includes readline
Chet Ramey [Fri, 11 Oct 2024 13:41:57 +0000 (09:41 -0400)] 
next set of documentation updates, includes readline

8 months agoFirst set of documentation updates to man page, texinfo manual
Chet Ramey [Tue, 8 Oct 2024 13:52:21 +0000 (09:52 -0400)] 
First set of documentation updates to man page, texinfo manual

9 months agofix for set -e and compound commands inverting return status; tty fix for `fg' from...
Chet Ramey [Fri, 27 Sep 2024 16:00:46 +0000 (12:00 -0400)] 
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

9 months agoin posix mode, don't notify about other terminated jobs if the jobs builtin is listin...
Chet Ramey [Fri, 20 Sep 2024 18:47:56 +0000 (14:47 -0400)] 
in posix mode, don't notify about other terminated jobs if the jobs builtin is listing individual jobs; in posix mode, if `wait pid' finds pid in bgpids, remove it from there

9 months ago`wait -n' notifies on a job it returns; in posix mode, `wait' defers notification...
Chet Ramey [Wed, 11 Sep 2024 19:54:24 +0000 (15:54 -0400)] 
`wait -n' notifies on a job it returns; in posix mode, `wait' defers notification on a reaped pid unless the shell is interactive, as posix now specifies

10 months agotrack initial line number of `{'', `(', and `[[' compound commands; don't have readli...
Chet Ramey [Wed, 4 Sep 2024 21:26:15 +0000 (17:26 -0400)] 
track initial line number of `{'', `(', and `[[' compound commands; don't have readline check for signals while it's handling a signal; fix for malformed printf time format specifier

10 months agodocumentation updates; fix for null commands with redirection expansion errors; chang...
Chet Ramey [Wed, 28 Aug 2024 15:42:10 +0000 (11:42 -0400)] 
documentation updates; fix for null commands with redirection expansion errors; changes to job notifications for interactive shells sourcing files; fix underflow issue with word_top

10 months agoadd bindable readline variable `force-meta-prefix' to allow users to tell readline...
Chet Ramey [Fri, 23 Aug 2024 19:08:31 +0000 (15:08 -0400)] 
add bindable readline variable `force-meta-prefix' to allow users to tell readline how their Meta key works

10 months agoremove extra directory
Chet Ramey [Thu, 22 Aug 2024 13:15:48 +0000 (09:15 -0400)] 
remove extra directory

10 months agofix for printf with broken strtold; fix readline reading specified number of multibyt...
Chet Ramey [Wed, 21 Aug 2024 20:11:01 +0000 (16:11 -0400)] 
fix for printf with broken strtold; fix readline reading specified number of multibyte characters; fix read builtin to deal with invalid utf-8 continuation character as delimiter; turn off -n if supplied at interactive shell invocation

10 months agooptimize asynchronous function invocations; fix for running return from trap while...
Chet Ramey [Thu, 15 Aug 2024 20:37:54 +0000 (16:37 -0400)] 
optimize asynchronous function invocations; fix for running return from trap while sourcing a file; restore completion function if read -e is interrupted

10 months agofix issue with read builtin delimiter in invaild mutibyte char; fix crash if caller...
Chet Ramey [Fri, 9 Aug 2024 14:01:38 +0000 (10:01 -0400)] 
fix issue with read builtin delimiter in invaild mutibyte char; fix crash if caller passes negative count argument to one of the history file writing functions

11 months agonew bash_source_fullpath shell option; documentation updates for wait builtin
Chet Ramey [Tue, 30 Jul 2024 15:18:17 +0000 (11:18 -0400)] 
new bash_source_fullpath shell option; documentation updates for wait builtin

11 months agofix issue with invalidating pointer to last procsub; fix boundary issues with small...
Chet Ramey [Fri, 26 Jul 2024 13:30:30 +0000 (09:30 -0400)] 
fix issue with invalidating pointer to last procsub; fix boundary issues with small reallocs

11 months agojob control cleanups; wait -n can return terminated jobs if supplied pid arguments...
Chet Ramey [Thu, 18 Jul 2024 20:48:17 +0000 (16:48 -0400)] 
job control cleanups; wait -n can return terminated jobs if supplied pid arguments; wait -n can wait for process substitutions if supplied pid arguments

11 months agoupdate copyright dates; fix problem with ignoring completions
Chet Ramey [Tue, 16 Jul 2024 13:38:09 +0000 (09:38 -0400)] 
update copyright dates; fix problem with ignoring completions

11 months agoreap and store status of process substitutions even when there are no jobs; fix issue...
Chet Ramey [Thu, 11 Jul 2024 16:03:23 +0000 (12:03 -0400)] 
reap and store status of process substitutions even when there are no jobs; fix issue with optimizing shell functions that set RETURN trap; fix issue with procsubs and eval allowing '<file'; fix for fignore and ignorning completions

12 months agodoc changes for --rcfile; fix isearch undo list incompatibility with bash-5.2; non...
Chet Ramey [Sat, 6 Jul 2024 16:54:57 +0000 (12:54 -0400)] 
doc changes for --rcfile; fix isearch undo list incompatibility with bash-5.2; non-inc search preserves undo lists in history entries

12 months agoupdates for several readline examples; update examples in readline documentation...
Chet Ramey [Tue, 2 Jul 2024 18:34:40 +0000 (14:34 -0400)] 
updates for several readline examples; update examples in readline documentation; update documentation for --rcfile option

12 months agosize_t changes for multibyte characters; fix for running debug trap in asynchronous...
Chet Ramey [Fri, 28 Jun 2024 18:16:29 +0000 (14:16 -0400)] 
size_t changes for multibyte characters; fix for running debug trap in asynchronous pipeline; remove support for precomputed cache files for cross-compiling; more size_t and ssize_t changes to avoid overflow

12 months agouse name as GLOBSORT secondary sort key; new GLOBSORT sort specifier: `numeric';...
Chet Ramey [Fri, 21 Jun 2024 14:51:53 +0000 (10:51 -0400)] 
use name as GLOBSORT secondary sort key; new GLOBSORT sort specifier: `numeric'; let readonly and export work on local variables at previous scopes for both array and scalar variables

12 months agobetter parser error messages; add -p option to source builtin
Chet Ramey [Fri, 21 Jun 2024 14:38:39 +0000 (10:38 -0400)] 
better parser error messages; add -p option to source builtin

13 months agoavoid storing extra copy of function bodies; fix some minor memory leaks
Chet Ramey [Tue, 4 Jun 2024 16:23:18 +0000 (12:23 -0400)] 
avoid storing extra copy of function bodies; fix some minor memory leaks

13 months agofix issue with interupting timed functions; fix for parsing comsubs inside arith...
Chet Ramey [Mon, 3 Jun 2024 13:09:11 +0000 (09:09 -0400)] 
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

13 months agofix minor errors uncovered by address sanitizer; work around android issue with read...
Chet Ramey [Tue, 28 May 2024 13:19:03 +0000 (09:19 -0400)] 
fix minor errors uncovered by address sanitizer; work around android issue with read -e -u; fix minor memory leaks; make spell-correct-shellword work with negative arguments; fix readline change-case on invalid multibyte character

13 months agofix to backslash quoting of glob pattern characters; allow newly-loaded compspecs...
Chet Ramey [Mon, 20 May 2024 14:48:44 +0000 (10:48 -0400)] 
fix to backslash quoting of glob pattern characters; allow newly-loaded compspecs to be used in more cases; fixes to the cross-compiling environment; avoid potential overflow in GLOBSORT processing

13 months agochange some error messages so the format string isn't the return value from gettext...
Chet Ramey [Mon, 13 May 2024 15:36:34 +0000 (11:36 -0400)] 
change some error messages so the format string isn't the return value from gettext(); work around macos problem with gettext() in child processes; don't try to set tty state while running a trap; don't default to trying enable -f file if the shell is restricted; note that configure now supports --enable-year2038

14 months agoallow some job notifications while running $PROMPT_COMMAND; allow notifications while...
Chet Ramey [Mon, 6 May 2024 15:25:35 +0000 (11:25 -0400)] 
allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform

14 months agofix for crash without arrays built in; allow some job status changes while the jobs...
Chet Ramey [Mon, 6 May 2024 15:15:17 +0000 (11:15 -0400)] 
fix for crash without arrays built in; allow some job status changes while the jobs list is frozen; change format for interactive shell terminated job notifications; allow some job notifications while running traps

14 months agofix for internal redirection flags colliding with open/fcntl flags; call memfd_create...
Chet Ramey [Wed, 1 May 2024 15:39:51 +0000 (11:39 -0400)] 
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

14 months agoenable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command...
Chet Ramey [Fri, 26 Apr 2024 20:51:04 +0000 (16:51 -0400)] 
enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support

14 months agominor updates to several tests
Chet Ramey [Mon, 22 Apr 2024 13:19:14 +0000 (09:19 -0400)] 
minor updates to several tests

14 months agofix recogniation of IN token in for command nested within case command
Chet Ramey [Mon, 15 Apr 2024 14:11:38 +0000 (10:11 -0400)] 
fix recogniation of IN token in for command nested within case command

14 months agoposix change for cd; fix for command word completion where the command names contain...
Chet Ramey [Thu, 11 Apr 2024 01:17:29 +0000 (21:17 -0400)] 
posix change for cd; fix for command word completion where the command names contain spaces; fix for error-and-output redirection with quoted filename

15 months agofix coproc code to close previous coproc file descriptors if another one is created...
Chet Ramey [Sat, 6 Apr 2024 20:06:11 +0000 (16:06 -0400)] 
fix coproc code to close previous coproc file descriptors if another one is created; start at setting additional coproc states; change release status to bash-5.3-alpha

15 months agoman page typesetting updates for compatibilityand layout issues
Chet Ramey [Fri, 5 Apr 2024 13:03:52 +0000 (09:03 -0400)] 
man page typesetting updates for compatibilityand layout issues

15 months agofix parser state with funsubs in PS2 and line continuations; fix for @P transformatio...
Chet Ramey [Mon, 1 Apr 2024 16:20:58 +0000 (12:20 -0400)] 
fix parser state with funsubs in PS2 and line continuations; fix for @P transformation in prompt strings

15 months agomore fixes for using bool and the stdckdint functions for integer overflow; another...
Chet Ramey [Thu, 28 Mar 2024 16:16:15 +0000 (12:16 -0400)] 
more fixes for using bool and the stdckdint functions for integer overflow; another update to test from coreutils-9.2 changes; fix memleak in parser state on parse error; Makefile changes for macOS

15 months agochange to test builtin for parenthesized expressions when there are more than four...
Chet Ramey [Mon, 25 Mar 2024 14:32:07 +0000 (10:32 -0400)] 
change to test builtin for parenthesized expressions when there are more than four arguments to test; tentative change to @A transformation to output declare commands for local variables

15 months agoadd stdbool.h detection and replacement for bool; use ckd_mul/ckd_add/ckd_sub where...
Chet Ramey [Mon, 18 Mar 2024 15:45:39 +0000 (11:45 -0400)] 
add stdbool.h detection and replacement for bool; use ckd_mul/ckd_add/ckd_sub where appropriate; update overflow detection in brace expansion and printf builtin

15 months agoadd more overflow handling for printf builtin; start incorporating C23 stdckdint...
Chet Ramey [Fri, 15 Mar 2024 16:55:39 +0000 (12:55 -0400)] 
add more overflow handling for printf builtin; start incorporating C23 stdckdint ; rework PRIdMAX replacements

15 months agofixes to printf for wide characters in single-byte locales; fixes to job notification...
Chet Ramey [Wed, 13 Mar 2024 13:33:32 +0000 (09:33 -0400)] 
fixes to printf for wide characters in single-byte locales; fixes to job notification for -c command shells

16 months agofix for printing case pattern lists beginning with "esac"; several fixes for expansio...
Chet Ramey [Mon, 4 Mar 2024 19:59:33 +0000 (14:59 -0500)] 
fix for printing case pattern lists beginning with "esac"; several fixes for expansion when IFS contains DEL

16 months agointernal fixes for declare; additional tests for broken wcwidth()
Chet Ramey [Tue, 27 Feb 2024 19:40:31 +0000 (14:40 -0500)] 
internal fixes for declare; additional tests for broken wcwidth()

16 months agofix quoting for positional parameters if not word splitting; retry open for startup...
Chet Ramey [Wed, 21 Feb 2024 14:42:10 +0000 (09:42 -0500)] 
fix quoting for positional parameters if not word splitting; retry open for startup files on EINTR; update HISTIGNORE description

16 months agoavoid executing unsafe functions if we get a terminating signal while handling SIGCHL...
Chet Ramey [Tue, 20 Feb 2024 14:53:58 +0000 (09:53 -0500)] 
avoid executing unsafe functions if we get a terminating signal while handling SIGCHLD; reject attempts to modify some attributes for readonly variables; more changes for unlocked stdio functions; quoting fixes for uncommon cases where IFS = ^A and the word is not being split

16 months agoadditional error checking for declare; changes for MSYS32; add support for unlocked...
Chet Ramey [Fri, 16 Feb 2024 15:55:13 +0000 (10:55 -0500)] 
additional error checking for declare; changes for MSYS32; add support for unlocked-io stdio functions; several C23 changes

16 months agoperformance improvements for large history lists; fix problem with not unwind-protect...
Chet Ramey [Wed, 14 Feb 2024 14:43:03 +0000 (09:43 -0500)] 
performance improvements for large history lists; fix problem with not unwind-protecting current command and name while executing

16 months agofix for background jobs killed by SIGTERM being marked as notified
Chet Ramey [Fri, 9 Feb 2024 15:56:43 +0000 (10:56 -0500)] 
fix for background jobs killed by SIGTERM being marked as notified

16 months agoupdates to man pages to deal with groff warnings and old troff versions
Chet Ramey [Fri, 9 Feb 2024 15:41:58 +0000 (10:41 -0500)] 
updates to man pages to deal with groff warnings and old troff versions

16 months agofix nofork comsub overwriting currently executing command; free readline undo list...
Chet Ramey [Fri, 9 Feb 2024 15:30:02 +0000 (10:30 -0500)] 
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

17 months agofix for cd when curent directory doesn't exist; fix wait -n in posix mode to delete...
Chet Ramey [Fri, 2 Feb 2024 19:39:50 +0000 (14:39 -0500)] 
fix for cd when curent directory doesn't exist; fix wait -n in posix mode to delete any job that it returns; fix some variables where readonly can be circumvented; fix some overflows in printf

17 months agomake completion of nofork comsubs a little better; fix leaks on signals for non-incre...
Chet Ramey [Sat, 27 Jan 2024 21:28:31 +0000 (16:28 -0500)] 
make completion of nofork comsubs a little better; fix leaks on signals for non-incremental searches; fix leaks in readstr interface

17 months agofix two bugs with shells started to run executable scripts inheriting shell state...
Chet Ramey [Tue, 23 Jan 2024 21:38:15 +0000 (16:38 -0500)] 
fix two bugs with shells started to run executable scripts inheriting shell state; fix potential buffer overflow in brace expansion; fix crash caused by nofork command substitution not saving enough state

17 months agofix bug parsing a compound assignment inside a (( nested subshell; man page style...
Chet Ramey [Fri, 19 Jan 2024 17:05:12 +0000 (12:05 -0500)] 
fix bug parsing a compound assignment inside a (( nested subshell; man page style and formatting updates

17 months agounconditionally define PGRP_PIPE; fix wait in funsubs; fix REPLY as nameref in varsub...
Chet Ramey [Sun, 14 Jan 2024 20:38:36 +0000 (15:38 -0500)] 
unconditionally define PGRP_PIPE; fix wait in funsubs; fix REPLY as nameref in varsub; fix crash with parse errors in compound assignments

17 months agofix issue with reserved words in case clauses in command substitution; fix issue...
Chet Ramey [Tue, 9 Jan 2024 21:00:15 +0000 (16:00 -0500)] 
fix issue with reserved words in case clauses in command substitution; fix issue with double free in compound assignment

18 months agofix for dequoting words in pretty-print mode; posix mode changes for readonly/export...
Chet Ramey [Tue, 2 Jan 2024 15:42:34 +0000 (10:42 -0500)] 
fix for dequoting words in pretty-print mode; posix mode changes for readonly/export invalid identifier errors

18 months agofix history expansion to not perform quick substitution on a new line that's part...
Chet Ramey [Tue, 19 Dec 2023 14:56:34 +0000 (09:56 -0500)] 
fix history expansion to not perform quick substitution on a new line that's part of a quoted string; save the value of $_ around prompt string decoding

18 months agofix off by one error when dequoting completed filenames; initial cut at readline...
Chet Ramey [Wed, 13 Dec 2023 15:52:43 +0000 (10:52 -0500)] 
fix off by one error when dequoting completed filenames; initial cut at readline identifying ANSI terminals; print coproc commands without coproc name if the coproc is a simple command

19 months agoreadline fix for do-lowercase-version; fix for reading here-documents from aliases
Chet Ramey [Tue, 5 Dec 2023 16:54:24 +0000 (11:54 -0500)] 
readline fix for do-lowercase-version; fix for reading here-documents from aliases

19 months agofix for ssh infinite loop when SSH_SOURCE_BASHRC is defined and bash is run in a...
Chet Ramey [Mon, 4 Dec 2023 21:40:00 +0000 (16:40 -0500)] 
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

19 months agotest suite fixes for some locales; fix to make bind -x bindings work with negative...
Chet Ramey [Mon, 4 Dec 2023 21:14:53 +0000 (16:14 -0500)] 
test suite fixes for some locales; fix to make bind -x bindings work with negative arguments; several portability fixes from pkgsrc; fixes for funsubs with return builtin state and local OPTIND