]>
Commit | Line | Data |
---|---|---|
1 | BASH PATCH REPORT | |
2 | ================= | |
3 | ||
4 | Bash-Release: 5.2 | |
5 | Patch-ID: bash52-017 | |
6 | ||
7 | Bug-Reported-by: Dan Church <h3xx@gmx.com> | |
8 | Bug-Reference-ID: <1a8fd1d6-a3ac-9a67-78eb-b9a7435304c8@gmx.com> | |
9 | Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-12/msg00076.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | In certain cases, using the `.' builtin in a subshell would optimize away | |
14 | the rest of the commands in the subshell. | |
15 | ||
16 | Patch (apply with `patch -p0'): | |
17 | ||
18 | *** ../bash-5.2-patched/builtins/evalfile.c 2019-07-20 16:16:08.000000000 -0400 | |
19 | --- builtins/evalfile.c 2022-12-22 12:13:08.000000000 -0500 | |
20 | *************** | |
21 | *** 267,271 **** | |
22 | ||
23 | /* set the flags to be passed to parse_and_execute */ | |
24 | ! pflags = SEVAL_RESETLINE; | |
25 | pflags |= (flags & FEVAL_HISTORY) ? 0 : SEVAL_NOHIST; | |
26 | ||
27 | --- 267,271 ---- | |
28 | ||
29 | /* set the flags to be passed to parse_and_execute */ | |
30 | ! pflags = SEVAL_RESETLINE|SEVAL_NOOPTIMIZE; | |
31 | pflags |= (flags & FEVAL_HISTORY) ? 0 : SEVAL_NOHIST; | |
32 | ||
33 | *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 | |
34 | --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400 | |
35 | *************** | |
36 | *** 26,30 **** | |
37 | looks for to find the patch level (for the sccs version string). */ | |
38 | ||
39 | ! #define PATCHLEVEL 16 | |
40 | ||
41 | #endif /* _PATCHLEVEL_H_ */ | |
42 | --- 26,30 ---- | |
43 | looks for to find the patch level (for the sccs version string). */ | |
44 | ||
45 | ! #define PATCHLEVEL 17 | |
46 | ||
47 | #endif /* _PATCHLEVEL_H_ */ |