Updating link to change in openSUSE:Factory/bash revision 60
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=246d4171b496263d8dfe7f6689ad4ef9
This commit is contained in:
parent
78207c1e5e
commit
2784918d9d
@ -16,3 +16,27 @@ And the obvious patch:
|
||||
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
|
||||
>
|
||||
> typeset -Ai s
|
||||
> y='*'
|
||||
> z='['
|
||||
> s[$y]=1
|
||||
> s[$z]=2
|
||||
> (( s[$z] = s[$z] + ${s[$y]} ))
|
||||
> (( s[$y] = s[$y] + ${s[$z]} ))
|
||||
> [[ ${s[$y]} = 4 ]] && echo "ok"
|
||||
|
||||
--- variables.c
|
||||
+++ variables.c 2010-07-29 15:03:48.671425922 +0000
|
||||
@@ -2398,7 +2398,7 @@ bind_int_variable (lhs, rhs)
|
||||
#endif
|
||||
v = bind_variable (lhs, rhs, 0);
|
||||
|
||||
- if (isint)
|
||||
+ if (isint && v)
|
||||
VSETATTR (v, att_integer);
|
||||
|
||||
return (v);
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 29 17:06:51 CEST 2010 - werner@suse.de
|
||||
|
||||
- Add fix from mailing list to avoid crash
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 19 09:54:50 CEST 2010 - werner@suse.de
|
||||
|
||||
|
14
bash.spec
14
bash.spec
@ -36,7 +36,7 @@ Suggests: bash-doc = %bash_vers
|
||||
%endif
|
||||
AutoReqProv: on
|
||||
Version: 4.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
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
|
||||
@ -104,7 +104,7 @@ Group: Documentation/Man
|
||||
Provides: bash:%{_infodir}/bash.info.gz
|
||||
PreReq: %install_info_prereq
|
||||
Version: 4.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
AutoReqProv: on
|
||||
%if %suse_version > 1120
|
||||
BuildArch: noarch
|
||||
@ -140,7 +140,7 @@ License: GPLv2+
|
||||
Summary: Include Files mandatory for Development of bash loadable builtins
|
||||
Group: Development/Languages/C and C++
|
||||
Version: 4.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
AutoReqProv: on
|
||||
|
||||
%description -n bash-devel
|
||||
@ -160,7 +160,7 @@ License: GPLv2+
|
||||
Summary: Loadable bash builtins
|
||||
Group: System/Shells
|
||||
Version: 4.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
AutoReqProv: on
|
||||
|
||||
%description -n bash-loadables
|
||||
@ -229,7 +229,7 @@ Summary: The Readline Library
|
||||
Group: System/Libraries
|
||||
Provides: bash:/%{_lib}/libreadline.so.%{rl_major}
|
||||
Version: 6.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
%if %suse_version > 1020
|
||||
Recommends: readline-doc = %{version}
|
||||
%endif
|
||||
@ -260,7 +260,7 @@ Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: bash:%{_libdir}/libreadline.a
|
||||
Version: 6.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
Requires: libreadline6 = %{version}
|
||||
Requires: ncurses-devel
|
||||
%if %suse_version > 1020
|
||||
@ -291,7 +291,7 @@ Group: System/Libraries
|
||||
Provides: readline:%{_infodir}/readline.info.gz
|
||||
PreReq: %install_info_prereq
|
||||
Version: 6.1
|
||||
Release: 7
|
||||
Release: 12
|
||||
AutoReqProv: on
|
||||
%if %suse_version > 1120
|
||||
BuildArch: noarch
|
||||
|
Loading…
Reference in New Issue
Block a user