OBS User unknown 2008-04-02 17:12:06 +00:00 committed by Git OBS Bridge
parent 1f9f5604c2
commit 3df17c792b
4 changed files with 34 additions and 15 deletions

View File

@ -1,5 +1,5 @@
--- jobs.c --- jobs.c
+++ jobs.c 2008-01-08 19:10:15.575513024 +0100 +++ jobs.c 2008-01-08 19:10:15.575513000 +0100
@@ -2344,7 +2344,11 @@ wait_for (pid) @@ -2344,7 +2344,11 @@ wait_for (pid)
act.sa_handler = SIG_DFL; act.sa_handler = SIG_DFL;
sigemptyset (&act.sa_mask); sigemptyset (&act.sa_mask);
@ -13,17 +13,21 @@
# endif # endif
queue_sigchld = 1; queue_sigchld = 1;
--- sig.c --- sig.c
+++ sig.c 2008-01-08 19:09:14.823789614 +0100 +++ sig.c 2008-04-02 12:42:23.742406622 +0200
@@ -586,6 +586,13 @@ set_signal_handler (sig, handler) @@ -586,6 +586,17 @@ set_signal_handler (sig, handler)
act.sa_flags |= SA_INTERRUPT; /* XXX */ act.sa_flags |= SA_INTERRUPT; /* XXX */
else else
act.sa_flags |= SA_RESTART; /* XXX */ act.sa_flags |= SA_RESTART; /* XXX */
+#else +#else
+# if !defined(MUST_REINSTALL_SIGHANDLERS) +# if !defined(MUST_REINSTALL_SIGHANDLERS)
+ if (sig == SIGCHLD) + if (sig != SIGALRM)
+ act.sa_flags |= SA_RESTART; /* XXX */
+ if (sig == SIGWINCH)
+ act.sa_flags |= SA_RESTART; /* XXX */ + act.sa_flags |= SA_RESTART; /* XXX */
+ if (handler == (trap_handler))
+ act.sa_flags |= SA_NODEFER; /* XXX */
+ if (handler == (termsig_sighandler))
+ act.sa_flags |= SA_NODEFER; /* XXX */
+ if (sig == SIGTSTP || sig == SIGTTOU || sig == SIGTTIN || sig == SIGCONT)
+ act.sa_flags |= SA_NODEFER; /* XXX */
+# endif +# endif
#endif #endif
sigemptyset (&act.sa_mask); sigemptyset (&act.sa_mask);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 2 11:49:20 CEST 2008 - werner@suse.de
- Allow to (re)send signals within trap handlers (bnc#345441)
- Clear exit status if not sourcing system profile (bnc#372061)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 28 11:49:28 CET 2008 - dmueller@suse.de Thu Feb 28 11:49:28 CET 2008 - dmueller@suse.de

View File

@ -20,7 +20,7 @@ Group: System/Shells
Recommends: bash-doc = %bash_vers Recommends: bash-doc = %bash_vers
AutoReqProv: on AutoReqProv: on
Version: 3.2 Version: 3.2
Release: 88 Release: 95
Summary: The GNU Bourne-Again Shell Summary: The GNU Bourne-Again Shell
Url: http://www.gnu.org/software/bash/bash.html Url: http://www.gnu.org/software/bash/bash.html
Source0: bash-%{bash_vers}.tar.bz2 Source0: bash-%{bash_vers}.tar.bz2
@ -70,12 +70,13 @@ Authors:
Chet Ramey <chet@ins.cwru.edu> Chet Ramey <chet@ins.cwru.edu>
%package -n bash-doc %package -n bash-doc
License: GPL v2 or later
Summary: Documentation how to Use the GNU Bourne-Again Shell Summary: Documentation how to Use the GNU Bourne-Again Shell
Group: Documentation/Man Group: Documentation/Man
Provides: bash:%{_infodir}/bash.info.gz Provides: bash:%{_infodir}/bash.info.gz
PreReq: %install_info_prereq PreReq: %install_info_prereq
Version: 3.2 Version: 3.2
Release: 47 Release: 54
AutoReqProv: on AutoReqProv: on
%description -n bash-doc %description -n bash-doc
@ -90,11 +91,12 @@ Authors:
Chet Ramey <chet@ins.cwru.edu> Chet Ramey <chet@ins.cwru.edu>
%package -n libreadline5 %package -n libreadline5
License: GPL v2 or later
Summary: The Readline Library Summary: The Readline Library
Group: System/Libraries Group: System/Libraries
Provides: bash:/%{_lib}/libreadline.so.5 Provides: bash:/%{_lib}/libreadline.so.5
Version: 5.2 Version: 5.2
Release: 47 Release: 54
Recommends: readline-doc = %{version} Recommends: readline-doc = %{version}
Provides: readline = 5.2 Provides: readline = 5.2
Obsoletes: readline <= 5.2 Obsoletes: readline <= 5.2
@ -113,11 +115,12 @@ Authors:
Chet Ramey <chet@ins.cwru.edu> Chet Ramey <chet@ins.cwru.edu>
%package -n readline-devel %package -n readline-devel
License: GPL v2 or later
Summary: Include Files and Libraries mandatory for Development Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: bash:%{_libdir}/libreadline.a Provides: bash:%{_libdir}/libreadline.a
Version: 5.2 Version: 5.2
Release: 88 Release: 95
Requires: libreadline5 = %{version} Requires: libreadline5 = %{version}
Requires: ncurses-devel Requires: ncurses-devel
Recommends: readline-doc = %{version} Recommends: readline-doc = %{version}
@ -135,12 +138,13 @@ Authors:
Chet Ramey <chet@ins.cwru.edu> Chet Ramey <chet@ins.cwru.edu>
%package -n readline-doc %package -n readline-doc
License: GPL v2 or later
Summary: Documentation how to Use and Programm with the Readline Library Summary: Documentation how to Use and Programm with the Readline Library
Group: System/Libraries Group: System/Libraries
Provides: readline:%{_infodir}/readline.info.gz Provides: readline:%{_infodir}/readline.info.gz
PreReq: %install_info_prereq PreReq: %install_info_prereq
Version: 5.2 Version: 5.2
Release: 47 Release: 54
AutoReqProv: on AutoReqProv: on
%description -n readline-doc %description -n readline-doc
@ -397,6 +401,9 @@ EOF
%doc %{_defaultdocdir}/readline/ %doc %{_defaultdocdir}/readline/
%changelog %changelog
* Wed Apr 02 2008 werner@suse.de
- Allow to (re)send signals within trap handlers (bnc#345441)
- Clear exit status if not sourcing system profile (bnc#372061)
* Thu Feb 28 2008 dmueller@suse.de * Thu Feb 28 2008 dmueller@suse.de
- remove invalid filerequires, the libreadline5 dependency is enough - remove invalid filerequires, the libreadline5 dependency is enough
* Mon Jan 28 2008 schwab@suse.de * Mon Jan 28 2008 schwab@suse.de
@ -682,7 +689,7 @@ EOF
- readline-devel should require readline - readline-devel should require readline
* Mon Jul 29 2002 werner@suse.de * Mon Jul 29 2002 werner@suse.de
- Expansion of `~user/<dir>' is like `/<dir>' - Expansion of `~user/<dir>' is like `/<dir>'
* Sat Jul 27 2002 kukuk@suse.de * Sun Jul 28 2002 kukuk@suse.de
- Remove not used tetex from neededforbuild - Remove not used tetex from neededforbuild
- Fix building of man2html (bash.html still broken) - Fix building of man2html (bash.html still broken)
* Fri Jul 19 2002 werner@suse.de * Fri Jul 19 2002 werner@suse.de
@ -772,7 +779,7 @@ EOF
- Upgrade to bash 2.04 and readline 4.1. - Upgrade to bash 2.04 and readline 4.1.
* Sun May 21 2000 kukuk@suse.de * Sun May 21 2000 kukuk@suse.de
- Use docdir - Use docdir
* Sat Apr 01 2000 bk@suse.de * Sun Apr 02 2000 bk@suse.de
- remove obviosly unneeded link /usr/lib/libreadline.so on s390 - remove obviosly unneeded link /usr/lib/libreadline.so on s390
* Tue Mar 14 2000 werner@suse.de * Tue Mar 14 2000 werner@suse.de
- Add locale patch to enable LC_NUMERIC handling - Add locale patch to enable LC_NUMERIC handling
@ -812,7 +819,7 @@ EOF
- update to bash 2.03, readline 4.0 - update to bash 2.03, readline 4.0
* Wed Jan 13 1999 @suse.de * Wed Jan 13 1999 @suse.de
- disabled `Broken pipe' messages - disabled `Broken pipe' messages
* Sun Dec 13 1998 bs@suse.de * Mon Dec 14 1998 bs@suse.de
- removed notify message - bash 2.0 is standard for a long time now. - removed notify message - bash 2.0 is standard for a long time now.
* Mon Dec 07 1998 florian@suse.de * Mon Dec 07 1998 florian@suse.de
- remove SSH_CLIENT-kludge as this cannot detect all correct cases - remove SSH_CLIENT-kludge as this cannot detect all correct cases

View File

@ -5,11 +5,13 @@
# All other interactive shells will only read .bashrc; this is particularly # All other interactive shells will only read .bashrc; this is particularly
# important for language settings, see below. # important for language settings, see below.
test -z "$PROFILEREAD" && . /etc/profile test -z "$PROFILEREAD" && . /etc/profile || true
# Most applications support several languages for their output. # Most applications support several languages for their output.
# To make use of this feature, simply uncomment one of the lines below or # To make use of this feature, simply uncomment one of the lines below or
# add your own one (see /usr/share/locale/locale.alias for more codes) # add your own one (see /usr/share/locale/locale.alias for more codes)
# This overwrites the system default set in /etc/sysconfig/language
# in the variable RC_LANG.
# #
#export LANG=de_DE.UTF-8 # uncomment this line for German output #export LANG=de_DE.UTF-8 # uncomment this line for German output
#export LANG=fr_FR.UTF-8 # uncomment this line for French output #export LANG=fr_FR.UTF-8 # uncomment this line for French output