Commit Graph

141 Commits

Author SHA1 Message Date
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 c3997d51f8 documentation updates for arithmetic expansion and array subscripts; update BASH_COMMAND for subshells; fix potential file descriptor leak in here document pipes 2025-03-07 10:23:58 -05:00
Chet Ramey 42c49d621d 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 2025-01-17 11:41:49 -05:00
Chet Ramey 2ea356081d documentation updates; test suite updates to reduce extraneous diff output; don't export BASHOPTS into running tests 2025-01-09 16:13:16 -05:00
Chet Ramey e327891b52 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 2024-08-21 16:11:01 -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 6fb61ee126 allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform 2024-05-06 11:25:35 -04:00
Chet Ramey d17d185fff 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 2024-05-06 11:15:17 -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 2532a2ccef fix parser state with funsubs in PS2 and line continuations; fix for @P transformation in prompt strings 2024-04-01 12:20:58 -04: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 10702735a0 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 2024-01-23 16:38:15 -05:00
Chet Ramey f2fdb5e313 unconditionally define PGRP_PIPE; fix wait in funsubs; fix REPLY as nameref in varsub; fix crash with parse errors in compound assignments 2024-01-14 15:38:36 -05:00
Chet Ramey fa0b002927 fix for dequoting words in pretty-print mode; posix mode changes for readonly/export invalid identifier errors 2024-01-02 10:42:34 -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 2f09fa19cf fix cd when user assigns a value to OLDPWD; fix android issue with blocked system calls; fix historical use of test -t; fix issue with foreground-TSTP async jobs 2023-07-10 09:41:30 -04:00
Chet Ramey d44a45afbc fix for optimizing forks away if bash -ic command is executed 2023-06-12 17:46:30 -04:00
Chet Ramey e252024788 remove (' from chars that can follow ${' command substitution; fix for empty command substitutions; fix for adding incomplete command substitutions to history; fix for function source file with -c command; fix for EOF at PS2 when ignoreeof is set 2023-05-26 17:29:41 -04:00
Chet Ramey 782af56204 updates for nofork command substitution; changes for z/OS machines; fix for race in wait_for_any_job 2023-05-22 09:37:41 -04:00
Chet Ramey 57d4dc15ff small asan fixes; size_t and other ANSI C changes; restore readline variables in compgen builtin 2023-03-27 16:38:37 -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 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 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 b4e5e5505c fix to readline redisplay of invisible chars at end of line; fix to here-document delimiter quote removal; prompt expansion makes invisible chars in w, W, s visible 2022-03-07 09:21:09 -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 006856edf6 minimal-config changes; $"..." support is now a configuration option 2021-12-01 16:40:52 -05:00
Chet Ramey d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05: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 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 6c84d09c19 make $0 available to non-interactive shell startup files 2021-07-28 10:27:04 -04:00
Chet Ramey ce3e1a8c5b commit bash-20200803 snapshot 2020-08-05 11:46:35 -04:00
Chet Ramey ab309487d5 commit bash-20200605 snapshot 2020-06-05 14:34:49 -04:00
Chet Ramey 32ba27b400 commit bash-20200603 snapshot 2020-06-04 16:30:27 -04:00
Chet Ramey fc94d47412 commit bash-20200504 snapshot 2020-05-08 14:19:57 -04:00
Chet Ramey e33aa28191 commit bash-20200501 snapshot 2020-05-04 10:28:06 -04:00
Chet Ramey db26b1cf58 commit bash-20190913 snapshot 2019-09-16 15:31:57 -04:00
Chet Ramey 969496e53b commit bash-20190830 snapshot 2019-09-03 10:54:55 -04:00
Chet Ramey 194cfc28f8 commit bash-20190719 snapshot 2019-07-22 09:24:14 -04:00
Chet Ramey 951bdaad7a commit bash-20190628 snapshot 2019-07-01 09:03:53 -04:00
Chet Ramey e230f9979d commit bash-20190227 snapshot 2019-02-28 08:37:36 -05:00
Chet Ramey 9d80be9ab5 commit bash-20181207 snapshot 2018-12-10 10:07:15 -05:00
Chet Ramey 3d31a311da commit bash-20180921 snapshot 2018-09-25 09:54:29 -04:00
Chet Ramey 96efdbb5b4 commit bash-20180713 snapshot 2018-07-18 10:23:04 -04:00
Chet Ramey d58f7f88ed commit bash-20180615 snapshot 2018-06-20 11:52:56 -04:00
Chet Ramey 072986823d commit bash-20180216 snapshot 2018-02-19 09:12:41 -05:00
Chet Ramey f886015aac commit bash-20171020 snapshot 2017-10-23 12:07:54 -04:00
Chet Ramey 1ebae4666c commit bash-20170915 snapshot 2017-09-20 09:30:30 -04:00
Chet Ramey a27e6ec35a commit bash-20170901 snapshot 2017-09-11 09:24:36 -04:00
Chet Ramey 68fd3b7615 commit bash-20170707 snapshot 2017-07-10 14:57:09 -04:00