SHA256
3
0
forked from pool/bash

Accepting request 20239 from Base:System

Copy from Base:System/bash based on submit request 20239 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/20239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=44
This commit is contained in:
OBS User autobuild 2009-09-10 10:39:25 +00:00 committed by Git OBS Bridge
commit d37b5136dc
5 changed files with 40 additions and 27 deletions

View File

@ -0,0 +1,18 @@
--- jobs.c
+++ jobs.c 2009-09-09 17:38:46.286401756 +0200
@@ -626,6 +626,7 @@ stop_pipeline (async, deferred)
if (newjob)
{
newjob->flags |= J_FOREGROUND;
+#if !defined(__linux__)
/*
* !!!!! NOTE !!!!! (chet@ins.cwru.edu)
*
@@ -640,6 +641,7 @@ stop_pipeline (async, deferred)
*/
if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0)
maybe_give_terminal_to (shell_pgrp, newjob->pgrp, 0);
+#endif
}
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5976375a49b913bacb5aafa2e1471666731621f19bd3d7872c2eacb035824f9e
size 15858
oid sha256:64b45587a32f84769d300c251406047bf8ecf8e54eec72281da82913b4ad4b5b
size 17535

View File

@ -1,16 +0,0 @@
Index: builtins/read.def
===================================================================
--- builtins/read.def.orig
+++ builtins/read.def
@@ -763,7 +763,10 @@ assign_vars:
if (*input_string == 0)
tofree = input_string = t;
else
- input_string = strip_trailing_ifs_whitespace (t1, ifs_chars, saw_escape);
+ {
+ input_string = strip_trailing_ifs_whitespace (t1, ifs_chars, saw_escape);
+ tofree = t;
+ }
}
#endif

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Sep 9 17:41:15 CEST 2009 - werner@suse.de
- Do not change tty owner group twice by child and parent (bnc#523667)
-------------------------------------------------------------------
Wed Sep 9 17:32:20 CEST 2009 - werner@suse.de
- Update to newest patch level 33
* Includes one of our own patches
-------------------------------------------------------------------
Wed Aug 26 13:01:19 CEST 2009 - coolo@novell.com

View File

@ -28,7 +28,7 @@ Recommends: bash-lang = %bash_vers
Suggests: command-not-found
AutoReqProv: on
Version: 4.0
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
@ -47,6 +47,7 @@ Patch4: bash-3.0-evalexp.patch
Patch5: bash-3.0-warn-locale.patch
Patch6: bash-3.0-nfs_redir.patch
Patch7: bash-3.0-decl.patch
Patch8: bash-4.0-async-bnc523667.dif
Patch9: bash-4.0-extended_quote.patch
Patch10: bash-3.2-printf.patch
Patch11: bash-4.0-loadables.dif
@ -61,7 +62,6 @@ Patch23: readline-5.2-conf.patch
Patch30: readline-6.0-destdir.patch
Patch40: bash-4.0.10-typo.patch
Patch42: bash-4.0.24-acl.dif
Patch43: bash-4.0.24-memleak-read.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _incdir %{_includedir}
@ -90,7 +90,7 @@ Group: Documentation/Man
Provides: bash:%{_infodir}/bash.info.gz
PreReq: %install_info_prereq
Version: 4.0
Release: 15
Release: 16
AutoReqProv: on
%description -n bash-doc
@ -110,7 +110,7 @@ License: GPL v2 or later
Summary: Include Files mandatory for Development of bash loadable builtins
Group: Development/Languages/C and C++
Version: 4.0
Release: 4
Release: 5
AutoReqProv: on
%description -n bash-devel
@ -130,7 +130,7 @@ License: GPL v2 or later
Summary: Loadable bash builtins
Group: System/Shells
Version: 4.0
Release: 4
Release: 5
AutoReqProv: on
%description -n bash-loadables
@ -199,7 +199,7 @@ Summary: The Readline Library
Group: System/Libraries
Provides: bash:/%{_lib}/libreadline.so.%{rl_major}
Version: 6.0
Release: 15
Release: 16
Recommends: readline-doc = %{version}
# bug437293
%ifarch ppc64
@ -228,7 +228,7 @@ Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Provides: bash:%{_libdir}/libreadline.a
Version: 6.0
Release: 15
Release: 16
Requires: libreadline6 = %{version}
Requires: ncurses-devel
Recommends: readline-doc = %{version}
@ -257,7 +257,7 @@ Group: System/Libraries
Provides: readline:%{_infodir}/readline.info.gz
PreReq: %install_info_prereq
Version: 6.0
Release: 15
Release: 16
AutoReqProv: on
%description -n readline-doc
@ -286,6 +286,7 @@ unset p
%patch5 -p0 -b .warnlc
%patch6 -p0 -b .nfs_redir
%patch7 -p0 -b .decl
%patch8 -p0 -b .async
%patch9 -p0 -b .extended_quote
%patch10 -p0 -b .printf
%patch11 -p0 -b .plugins
@ -298,7 +299,6 @@ unset p
%patch23 -p0 -b .conf
%patch40 -p0 -b .typo
%patch42 -p0 -b .acl
%patch43 -p0 -b .leak
%patch0 -p0
cd ../readline-%{rl_vers}
for p in ../readline-%{rl_vers}-patches/*; do