blob: 17c1d89db8ddf77cacaffe40a004436047c20ea4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
BASH PATCH REPORT
=================
Bash-Release: 5.3
Patch-ID: bash53-001
Bug-Reported-by: John Sidles <jasidles@gmail.com>
Bug-Reference-ID: <CAHOxHhRKa86FtRpsq-FBVciAxZ9kbo5PvfQBovBDXDFySbxj7A@mail.gmail.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00035.html
Bug-Description:
In posix mode, `wait -n' with pid arguments does not restrict the set of
processes it considers to those arguments.
Patch (apply with `patch -p0'):
*** ../bash-5.3/jobs.c Fri Mar 7 18:48:44 2025
--- jobs.c Mon Jul 14 10:25:13 2025
***************
*** 3539,3543 ****
one in bgpids. We can do this in posix mode because we'll remove any
one we find from the table, preserving existing semantics. */
! if (posixly_correct && (t = bgp_findone ()))
{
pid = t->pid;
--- 3539,3543 ----
one in bgpids. We can do this in posix mode because we'll remove any
one we find from the table, preserving existing semantics. */
! if (posixly_correct && (flags & JWAIT_WAITING) == 0 && (t = bgp_findone ()))
{
pid = t->pid;
*** ../bash-5.3/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
***************
*** 26,30 ****
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 0
#endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 1
#endif /* _PATCHLEVEL_H_ */
|