SHA256
3
0
forked from pool/bash

Updating link to change in openSUSE:Factory/bash revision 64

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=e87262c330fd3c958759eea1aca04a8a
This commit is contained in:
OBS User buildservice-autocommit 2010-10-14 13:06:17 +00:00 committed by Git OBS Bridge
parent 241beb5f81
commit 597ca50e66
5 changed files with 30 additions and 37 deletions

View File

@ -1,21 +1,3 @@
Andreas Schwab <schwab@linux-m68k.org> writes:
> $ declare -A a=b; unset a
> *** glibc detected *** /bin/bash: free(): invalid pointer: 0x10091644 ***
And the obvious patch:
--- builtins/declare.def
+++ builtins/declare.def 2010-04-09 17:20:51.000000000 +0000
@@ -512,7 +512,7 @@ declare_internal (list, local_var)
{
/* let bind_{array,assoc}_variable take care of this. */
if (assoc_p (var))
- bind_assoc_variable (var, name, "0", value, aflags);
+ bind_assoc_variable (var, name, savestring ("0"), value, aflags);
else
bind_array_variable (name, 0, value, aflags);
}
Roman Rakus <rrakus@redhat.com> writes:
> Repeated in the bash-4.0.38 and bash-4.1.7 by the script;
> #!/bin/bash

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c09d82089a275831e34dd2a885d50f733265d4929e62c0fce5a5ae623e8d8a0b
size 3633
oid sha256:863d13c4739d3ce674f9d4f2d25e65eb1bd6dabe1e7d46be1b41ff053dbc9a1e
size 4268

View File

@ -1,6 +1,6 @@
--- jobs.c
+++ jobs.c 2008-01-08 18:10:15.575513000 +0000
@@ -2417,7 +2417,11 @@ wait_for (pid)
+++ jobs.c 2008-01-08 18:10:16.000000000 +0000
@@ -2426,7 +2426,11 @@ wait_for (pid)
act.sa_handler = SIG_DFL;
sigemptyset (&act.sa_mask);
sigemptyset (&oact.sa_mask);
@ -13,12 +13,11 @@
# endif
queue_sigchld = 1;
--- sig.c
+++ sig.c 2008-04-02 10:42:23.742406622 +0000
@@ -654,6 +654,17 @@ set_signal_handler (sig, handler)
act.sa_flags |= SA_INTERRUPT; /* XXX */
else
act.sa_flags |= SA_RESTART; /* XXX */
+#else
+++ sig.c 2010-10-14 12:28:48.004425767 +0000
@@ -658,6 +658,16 @@ set_signal_handler (sig, handler)
#else
if (sig == SIGCHLD)
act.sa_flags |= SA_RESTART;
+# if !defined(MUST_REINSTALL_SIGHANDLERS)
+ if (sig != SIGALRM)
+ act.sa_flags |= SA_RESTART; /* XXX */

View File

@ -1,7 +1,19 @@
-------------------------------------------------------------------
Thu Oct 14 14:34:15 CEST 2010 - werner@suse.de
- Update bash 4.1 to patch level 9
* When declaring an associative array and implicitly assigning a
value to element "0", bash does not correctly allocate memory,
leading to a segmentation violation when that element or the
array itself is unset.
* An arriving SIGCHLD will interrupt `slow' system calls such as
write(2) to or read(2) from a terminal. This results in an
error message and truncated input or output.
-------------------------------------------------------------------
Fri Sep 3 20:55:30 UTC 2010 - cristian.rodriguez@opensuse.org
- builtin "man2html"generates html manaul with a timestamp
- builtin "man2html"generates html manual with a timestamp
that causes the package to be published over and over again.
-------------------------------------------------------------------

View File

@ -36,7 +36,7 @@ Suggests: bash-doc = %bash_vers
%endif
AutoReqProv: on
Version: 4.1
Release: 15
Release: 16
Summary: The GNU Bourne-Again Shell
Url: http://www.gnu.org/software/bash/bash.html
Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{bash_vers}.tar.bz2
@ -60,7 +60,7 @@ Patch9: bash-4.0-extended_quote.patch
Patch10: bash-3.2-printf.patch
Patch11: bash-4.0-loadables.dif
Patch12: bash-4.1-completion.dif
Patch14: bash-3.2-sigrestart.patch
Patch14: bash-4.1-sigrestart.patch
Patch15: bash-3.2-longjmp.dif
Patch16: bash-4.0-setlocale.dif
Patch17: bash-4.0-headers.dif
@ -105,7 +105,7 @@ Group: Documentation/Man
Provides: bash:%{_infodir}/bash.info.gz
PreReq: %install_info_prereq
Version: 4.1
Release: 15
Release: 16
AutoReqProv: on
%if %suse_version > 1120
BuildArch: noarch
@ -141,7 +141,7 @@ License: GPLv2+
Summary: Include Files mandatory for Development of bash loadable builtins
Group: Development/Languages/C and C++
Version: 4.1
Release: 15
Release: 16
AutoReqProv: on
%description -n bash-devel
@ -161,7 +161,7 @@ License: GPLv2+
Summary: Loadable bash builtins
Group: System/Shells
Version: 4.1
Release: 15
Release: 16
AutoReqProv: on
%description -n bash-loadables
@ -230,7 +230,7 @@ Summary: The Readline Library
Group: System/Libraries
Provides: bash:/%{_lib}/libreadline.so.%{rl_major}
Version: 6.1
Release: 15
Release: 16
%if %suse_version > 1020
Recommends: readline-doc = %{version}
%endif
@ -261,7 +261,7 @@ Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Provides: bash:%{_libdir}/libreadline.a
Version: 6.1
Release: 15
Release: 16
Requires: libreadline6 = %{version}
Requires: ncurses-devel
%if %suse_version > 1020
@ -292,7 +292,7 @@ Group: System/Libraries
Provides: readline:%{_infodir}/readline.info.gz
PreReq: %install_info_prereq
Version: 6.1
Release: 15
Release: 16
AutoReqProv: on
%if %suse_version > 1120
BuildArch: noarch