From: Chet Ramey Date: Thu, 9 Nov 2023 21:44:13 +0000 (-0500) Subject: Bash-5.2 patch 17: fix for optimizing forks when using the . builtin in a subshell X-Git-Tag: bash-5.3-alpha~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d7979ba4c2b7848b81f526eac44340909ddd5a1;p=thirdparty%2Fbash.git Bash-5.2 patch 17: fix for optimizing forks when using the . builtin in a subshell --- diff --git a/builtins/evalfile.c b/builtins/evalfile.c index fc3975ec8..604de577e 100644 --- a/builtins/evalfile.c +++ b/builtins/evalfile.c @@ -266,7 +266,7 @@ file_error_and_exit: #endif /* set the flags to be passed to parse_and_execute */ - pflags = SEVAL_RESETLINE; + pflags = SEVAL_RESETLINE|SEVAL_NOOPTIMIZE; pflags |= (flags & FEVAL_HISTORY) ? 0 : SEVAL_NOHIST; if (flags & FEVAL_BUILTIN) diff --git a/patchlevel.h b/patchlevel.h index 2e8a3dac9..7b69019e2 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 16 +#define PATCHLEVEL 17 #endif /* _PATCHLEVEL_H_ */