Hello community,
here is the log from the commit of package ksh for openSUSE:Factory
checked in at Fri Aug 28 18:00:56 CEST 2009.
--------
--- ksh/ksh.changes 2009-08-11 12:07:47.000000000 +0200
+++ ksh/ksh.changes 2009-08-26 14:03:53.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Aug 26 14:03:10 CEST 2009 - werner@suse.de
+
+- Add patch to avoid crash within pipes
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
ksh93-pipe.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.6YXBU1/_old 2009-08-28 17:59:34.000000000 +0200
+++ /var/tmp/diff_new_pack.6YXBU1/_new 2009-08-28 17:59:34.000000000 +0200
@@ -26,7 +26,7 @@
PreReq: /bin/ln /bin/rm /etc/bash.bashrc /bin/true
AutoReqProv: on
Version: 93t
-Release: 14
+Release: 15
Summary: Korn Shell
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: INIT.2009-06-30.tar.bz2
@@ -54,6 +54,7 @@
Patch14: ksh93-ia64.dif
Patch15: ksh93-s390.dif
Patch16: ksh93-memleak.dif
+Patch17: ksh93-pipe.dif
Patch42: ksh93-debugleaks.dif
%global use_suid_exe 0
%global use_locale 0
@@ -121,6 +122,7 @@
%endif
%patch15
%patch16
+%patch17
%if %debug_memleak
%patch42
%endif
@@ -269,6 +271,7 @@
${root}/bin/ksh shtests
${root}/bin/ksh %{S:10}
${root}/bin/ksh %{S:11}
+ ${root}/bin/ksh -c 'g="false"; trap "print -u2 PIPED; \$g && exit 0 ; g=true" PIPE ; while true ; do echo hello ; done' | head -n 10
popd
pushd ${root}/bin
PATH=$PATH:.
++++++ ksh93-pipe.dif ++++++
| From: David Korn