slackware-current/source/a/bash/bash-5.1-patches/bash51-002
Patrick J Volkerding 98f1ac1fd7 Sun Dec 20 03:10:57 UTC 2020
Linus didn't think this was a scary kernel and in spite of skipping a few
branches here before getting to this one, I don't either. Not scary enough
to make me think I need to start it out in /testing, anyway. I have a good
feeling about this kernel. Enjoy! :-)
a/bash-5.1.004-x86_64-1.txz:  Upgraded.
a/elogind-246.9-x86_64-1.txz:  Upgraded.
  Don't make 10-enable-session-power.rules a .new file.
  Thanks to Robby Workman.
a/kernel-firmware-20201218_646f159-noarch-1.txz:  Upgraded.
a/kernel-generic-5.10.1-x86_64-1.txz:  Upgraded.
a/kernel-huge-5.10.1-x86_64-1.txz:  Upgraded.
a/kernel-modules-5.10.1-x86_64-1.txz:  Upgraded.
a/ndctl-71-x86_64-1.txz:  Upgraded.
a/sysvinit-scripts-2.1-noarch-37.txz:  Rebuilt.
  rc.S: don't start cgmanager/cgproxy.
  rc.6: don't stop cgmanager/cgproxy.
d/kernel-headers-5.10.1-x86-1.txz:  Upgraded.
k/kernel-source-5.10.1-noarch-1.txz:  Upgraded.
l/libtiff-4.2.0-x86_64-1.txz:  Upgraded.
l/zstd-1.4.8-x86_64-1.txz:  Upgraded.
n/ca-certificates-20201219-noarch-1.txz:  Upgraded.
  This update provides the latest CA certificates to check for the
  authenticity of SSL connections.
xap/libnma-1.8.30-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2020-12-20 08:59:51 +01:00

57 lines
1.5 KiB
Text

BASH PATCH REPORT
=================
Bash-Release: 5.1
Patch-ID: bash51-002
Bug-Reported-by: oguzismailuysal@gmail.com
Bug-Reference-ID: <CAH7i3LoHFUa4aSF5-AD2r80HG-p-YzD_9ZxomarZkhP8NMq63g@mail.gmail.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00037.html
Bug-Description:
If there are no jobs, and the `-n' and `-p' options are both supplied to
`wait', bash can assign a value to the variable name specified with `-p'
instead of leaving it unset.
Patch (apply with `patch -p0'):
*** ../bash-5.1-patched/builtins/wait.def 2020-04-09 15:13:57.000000000 -0400
--- builtins/wait.def 2020-12-11 09:46:49.000000000 -0500
***************
*** 214,222 ****
status = wait_for_any_job (wflags, &pstat);
- if (status < 0)
- status = 127;
-
if (vname && status >= 0)
bind_var_to_int (vname, pstat.pid);
if (list)
unset_waitlist ();
--- 214,222 ----
status = wait_for_any_job (wflags, &pstat);
if (vname && status >= 0)
bind_var_to_int (vname, pstat.pid);
+
+ if (status < 0)
+ status = 127;
if (list)
unset_waitlist ();
*** ../bash-5.1/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 1
#endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 2
#endif /* _PATCHLEVEL_H_ */