fix for nofork comsubs undoing enclosing command's redirections; fix for binding _ variable in the temporary environment; fix for crash when making special variables arrays; accommodate IFS as array variable; fix for SIGINT arriving while cleaning up a readline incremental search

This commit is contained in:
Chet Ramey
2025-08-20 11:08:28 -04:00
parent 3160c0b89c
commit 0864568359
21 changed files with 131 additions and 20 deletions
+2
View File
@@ -102,6 +102,7 @@ convert_var_to_array (SHELL_VAR *var)
/* Since namerefs can't be array variables, turn off nameref attribute */
VUNSETATTR (var, att_nameref);
stupidly_hack_special_variables (var->name);
return var;
}
@@ -139,6 +140,7 @@ convert_var_to_assoc (SHELL_VAR *var)
/* Since namerefs can't be array variables, turn off nameref attribute */
VUNSETATTR (var, att_nameref);
stupidly_hack_special_variables (var->name);
return var;
}