diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-04-21 18:45:54 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-04-22 08:59:43 +0200 |
commit | 1c4f74fa29203ad62ca85d4ce48fb08c85068b31 (patch) | |
tree | b2cec83e0f0d241e49dbe29c4cb3d2a43a4ea890 /source/a/bash/bash-5.0-patches/bash50-004 | |
parent | 96cf3289b02a3c1b0e5c8d757a3d1f2dfaa044a4 (diff) | |
download | current-1c4f74fa29203ad62ca85d4ce48fb08c85068b31.tar.gz current-1c4f74fa29203ad62ca85d4ce48fb08c85068b31.tar.xz |
Sun Apr 21 18:45:54 UTC 201920190421184554
a/bash-5.0.007-x86_64-1.txz: Upgraded.
d/parallel-20190422-noarch-1.txz: Upgraded.
n/NetworkManager-1.18.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/bash/bash-5.0-patches/bash50-004')
-rw-r--r-- | source/a/bash/bash-5.0-patches/bash50-004 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/source/a/bash/bash-5.0-patches/bash50-004 b/source/a/bash/bash-5.0-patches/bash50-004 new file mode 100644 index 000000000..fe3c764bd --- /dev/null +++ b/source/a/bash/bash-5.0-patches/bash50-004 @@ -0,0 +1,53 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 5.0 +Patch-ID: bash50-004 + +Bug-Reported-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> +Bug-Reference-ID: <87lg0g8aiw.fsf@fifthhorseman.net> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2019-04/msg00076.html + +Bug-Description: + +In bash-5.0, the `wait' builtin without arguments waits for all children of the +shell. This includes children it `inherited' at shell invocation time. This +patch modifies the behavior to not wait for these inherited children, some +of which might be long-lived. + +Patch (apply with `patch -p0'): + +*** ../bash-5.0-patched/jobs.c 2018-12-06 11:44:34.000000000 -0500 +--- jobs.c 2019-04-12 15:15:10.000000000 -0400 +*************** +*** 2489,2496 **** + wait_procsubs (); + reap_procsubs (); +! #if 1 + /* We don't want to wait indefinitely if we have stopped children. */ +- /* XXX - should add a loop that goes through the list of process +- substitutions and waits for each proc in turn before this code. */ + if (any_stopped == 0) + { +--- 2490,2495 ---- + wait_procsubs (); + reap_procsubs (); +! #if 0 + /* We don't want to wait indefinitely if we have stopped children. */ + if (any_stopped == 0) + { +*** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400 +--- patchlevel.h 2016-10-01 11:01:28.000000000 -0400 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 3 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 4 + + #endif /* _PATCHLEVEL_H_ */ |