Accepting request 697366 from Base:System
- Add official patch bash50-004 * 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. - Add official patch bash50-005 * In certain cases, bash optimizes out a fork() call too early and prevents traps from running. - Add official patch bash50-006 * Bash-5.0 did not build successfully if SYSLOG_HISTORY was defined without also defining SYSLOG_SHOPT. - Add official patch bash50-007 * Running `exec' when job control was disabled, even temporarily, but after it had been initialized, could leave the terminal in the wrong process group for the executed process. OBS-URL: https://build.opensuse.org/request/show/697366 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=155
This commit is contained in:
commit
80a5524d0d
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6baeefb72f30dbf93b0ba72d1fa7898c09c6082087684563e656524844a69435
|
||||
size 4752
|
||||
oid sha256:09106519737856f4ff06a5088d9c3c9b804afdb69e2812aa9c1993f9d7f1954a
|
||||
size 6768
|
||||
|
11
bash-5.0.dif
11
bash-5.0.dif
@ -6,14 +6,13 @@
|
||||
general.h | 3 +++
|
||||
parse.y | 2 +-
|
||||
shell.c | 6 +++++-
|
||||
support/bashbug.sh | 2 +-
|
||||
support/man2html.c | 1 +
|
||||
support/rlvers.sh | 6 +++---
|
||||
support/shobj-conf | 5 +++--
|
||||
tests/glob.tests | 4 ++--
|
||||
tests/run-intl | 2 +-
|
||||
tests/run-read | 2 +-
|
||||
14 files changed, 38 insertions(+), 22 deletions(-)
|
||||
13 files changed, 37 insertions(+), 21 deletions(-)
|
||||
|
||||
--- Makefile.in
|
||||
+++ Makefile.in 2018-11-29 08:14:06.638693338 +0000
|
||||
@ -168,14 +167,6 @@
|
||||
if (setuid (current_user.uid) < 0)
|
||||
{
|
||||
e = errno;
|
||||
--- support/bashbug.sh
|
||||
+++ support/bashbug.sh 2018-11-29 08:14:06.638693338 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh -
|
||||
+#!/bin/bash -
|
||||
#
|
||||
# bashbug - create a bug report and mail it to the bug address
|
||||
#
|
||||
--- support/man2html.c
|
||||
+++ support/man2html.c 2018-11-29 08:14:06.638693338 +0000
|
||||
@@ -78,6 +78,7 @@
|
||||
|
@ -1,2 +1,3 @@
|
||||
addFilter(".*hidden-file-or-dir.*/etc/skel/\..*")
|
||||
addFilter(".*zero-length.*/etc/skel/\..*")
|
||||
addFilter(".*call-to-mktemp.*/usr/bin/bash.*")
|
||||
|
19
bash.changes
19
bash.changes
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 23 12:58:16 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add official patch bash50-004
|
||||
* 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.
|
||||
- Add official patch bash50-005
|
||||
* In certain cases, bash optimizes out a fork() call too early and prevents
|
||||
traps from running.
|
||||
- Add official patch bash50-006
|
||||
* Bash-5.0 did not build successfully if SYSLOG_HISTORY was defined without
|
||||
also defining SYSLOG_SHOPT.
|
||||
- Add official patch bash50-007
|
||||
* Running `exec' when job control was disabled, even temporarily, but after it
|
||||
had been initialized, could leave the terminal in the wrong process group for
|
||||
the executed process.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 4 07:18:57 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -492,6 +492,7 @@ EOF
|
||||
chmod 600 %{buildroot}%{_sysconfdir}/skel/.bash_history
|
||||
%find_lang bash
|
||||
%fdupes -s %{buildroot}%{_datadir}/bash/helpfiles
|
||||
sed -ri '1{ s@/bin/sh@/bin/bash@ }' %{buildroot}%{_bindir}/bashbug
|
||||
|
||||
%post -p /bin/bash
|
||||
%{_sbindir}/update-alternatives --quiet --force \
|
||||
|
Loading…
Reference in New Issue
Block a user