fix for a trap on SIGINT restoring the default disposition in an asynchronous subshell; change cd exit status if -Pe supplied and the directory can't be changed; fix for compound associative array assignment if one of the expanded words unsets the array during word expansion; fixes for rare systems that don't have various defines and system calls

This commit is contained in:
Chet Ramey
2025-11-17 14:50:43 -05:00
parent 81d8584268
commit 2fd02c8387
13 changed files with 113 additions and 62 deletions
+3
View File
@@ -3309,6 +3309,9 @@ using the compound assignment syntax; see
.B PARAMETERS
above.
.PP
If one of the word expansions in a compound array assignment unsets the
variable, the results are unspecified.
.PP
An array element is referenced using
${\fIname\fP[\fIsubscript\fP]}.
The braces are required to avoid conflicts with pathname expansion.