fix for potential read builtin crash if bash gets a signal before read reads any input; make wait -f work if there are no pid or job arguments and update documentation; save and restore variable reflected in $BASH_COMMAND around shell function calls

This commit is contained in:
Chet Ramey
2025-09-18 17:54:55 -04:00
parent 013fae2c98
commit cf8a2518c8
15 changed files with 136 additions and 28 deletions
+3
View File
@@ -99,6 +99,9 @@ ${THIS_SH} ./trap8.sub
# return without argument in trap string
${THIS_SH} ./trap9.sub
# ERR trap and functions
${THIS_SH} ./trap10.sub
#
# show that setting a trap on SIGCHLD is not disastrous.
#