reap and store status of process substitutions even when there are no jobs; fix issue with optimizing shell functions that set RETURN trap; fix issue with procsubs and eval allowing '<file'; fix for fignore and ignorning completions

This commit is contained in:
Chet Ramey
2024-07-11 12:03:23 -04:00
parent a91b8b0773
commit d3e86e66ce
13 changed files with 1222 additions and 1810 deletions
+1 -1
View File
@@ -4781,7 +4781,7 @@ parse_string_to_command (char *string, int flags)
/*itrace("parse_string_to_command: size = %d shell_input_line = `%s' string=`%s'", shell_input_line_size, shell_input_line, string);*/
sflags = SEVAL_NONINT|SEVAL_NOHIST|SEVAL_NOFREE;
sflags = SEVAL_NONINT|SEVAL_NOHIST|SEVAL_NOFREE|SEVAL_ONECMD;
if (flags & SX_NOLONGJMP)
sflags |= SEVAL_NOLONGJMP;