update fix to save history if fatal signal arrives during $PROMPT_COMMAND execution; fix issue with extglob and empty patterns preceding pattern beginning with a `.'

This commit is contained in:
Chet Ramey
2026-03-24 10:10:30 -04:00
parent 1f292e433e
commit 55f721c51e
22 changed files with 3626 additions and 3540 deletions
+2
View File
@@ -5424,6 +5424,8 @@ execute_function (SHELL_VAR *var, WORD_LIST *words, int flags, struct fd_bitmap
stop_pipeline (async, (COMMAND *)NULL);
#endif
/* We are no longer in a loop. See Posix interp 842 (the function is not
"lexically enclosed" by the loop). */
if (shell_compatibility_level > 43)
loop_level = 0;