]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/bash/bash51-010
mpd: Update to 0.23.8
[ipfire-2.x.git] / src / patches / bash / bash51-010
CommitLineData
725ffd6f
AB
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 5.1
5Patch-ID: bash51-010
6
7Bug-Reported-by: Jonas Alfredsson <jonas.alfredsson@protonmail.com>
8Bug-Reference-ID: <LjAfZaEuZncr2RaqhSSfcaiXdkuK6kdEYxshP3LApXbgMVQzggMGyWHO9knVkXicW2fP-ibsipJ_GZ-YaJRm96Rsozf6PgFmPsljRCtflls=@protonmail.com>
9Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2021-05/msg00059.html
10
11Bug-Description:
12
13If `wait -n' is interrupted by a trapped signal other than SIGINT, it does
14not completely clean up state, and that can prevent subsequent calls to
15`wait -n' from working correctly.
16
17Patch (apply with `patch -p0'):
18
19*** ../bash-5.1-patched/builtins/wait.def 2020-12-16 17:13:12.000000000 -0500
20--- builtins/wait.def 2021-11-17 10:25:15.000000000 -0500
21***************
22*** 112,116 ****
23 WORD_LIST *list;
24 {
25! int status, code, opt, nflag, wflags;
26 char *vname;
27 SHELL_VAR *pidvar;
28--- 112,117 ----
29 WORD_LIST *list;
30 {
31! int status, code, opt, nflag;
32! volatile int wflags;
33 char *vname;
34 SHELL_VAR *pidvar;
35***************
36*** 181,184 ****
37--- 188,193 ----
38 status = 128 + wait_signal_received;
39 wait_sigint_cleanup ();
40+ if (wflags & JWAIT_WAITING)
41+ unset_waitlist ();
42 WAIT_RETURN (status);
43 }
44
45*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
46--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
47***************
48*** 26,30 ****
49 looks for to find the patch level (for the sccs version string). */
50
51! #define PATCHLEVEL 9
52
53 #endif /* _PATCHLEVEL_H_ */
54--- 26,30 ----
55 looks for to find the patch level (for the sccs version string). */
56
57! #define PATCHLEVEL 10
58
59 #endif /* _PATCHLEVEL_H_ */