rpms/ksh/F-11 ksh-20090630-jlist.patch, NONE, 1.1 .cvsignore, 1.18, 1.19 ksh.spec, 1.50, 1.51 sources, 1.19, 1.20
Michal Hlavinka
mhlavink at fedoraproject.org
Thu Aug 27 09:34:42 UTC 2009
- Previous message (by thread): rpms/ksh/devel ksh-20090630-jlist.patch, NONE, 1.1 .cvsignore, 1.17, 1.18 ksh.spec, 1.49, 1.50 sources, 1.18, 1.19
- Next message (by thread): rpms/ksh/F-11 ksh-20070328-builtins.patch,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mhlavink
Update of /cvs/extras/rpms/ksh/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12967
Modified Files:
.cvsignore ksh.spec sources
Added Files:
ksh-20090630-jlist.patch
Log Message:
udpated to 2009-06-30
ksh-20090630-jlist.patch:
jobs.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
--- NEW FILE ksh-20090630-jlist.patch ---
diff -up ksh-20090630/src/cmd/ksh93/sh/jobs.c.jlist ksh-20090630/src/cmd/ksh93/sh/jobs.c
--- ksh-20090630/src/cmd/ksh93/sh/jobs.c.jlist 2009-04-30 00:07:32.000000000 +0200
+++ ksh-20090630/src/cmd/ksh93/sh/jobs.c 2009-08-27 08:51:48.028116714 +0200
@@ -1745,6 +1745,19 @@ static int job_chksave(register pid_t pi
jpold = jp;
jp = jp->next;
}
+ if(jp && (jp==jpold || count<0))
+ {
+ Sfio_t *log = sfopen((Sfio_t*)0,"/tmp/kshlog","a");
+ if(log)
+ {
+ fchmod(sffileno(log),S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH);
+ sfprintf(log,"chksave loop jp==jpold=%d jpold=%p jp->pid=%d pid=%d count=%d\n",jp==jpold,jpold,jp->pid,pid,bck.count);
+ sfclose(log);
+ sfsync(log);
+ errormsg(SH_DICT,ERROR_warn(0),"job list infinite loop -- this should not happen");
+ abort();
+ }
+ }
if(jp)
{
r = 0;
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ksh/F-11/.cvsignore,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- .cvsignore 29 Jul 2009 07:42:20 -0000 1.18
+++ .cvsignore 27 Aug 2009 09:34:41 -0000 1.19
@@ -1,2 +1,2 @@
-INIT.2008-12-12.tgz
-ast-ksh.2008-12-12.tgz
+INIT.2009-06-30.tgz
+ast-ksh.2009-06-30.tgz
Index: ksh.spec
===================================================================
RCS file: /cvs/extras/rpms/ksh/F-11/ksh.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -p -r1.50 -r1.51
--- ksh.spec 29 Jul 2009 07:42:20 -0000 1.50
+++ ksh.spec 27 Aug 2009 09:34:41 -0000 1.51
@@ -1,11 +1,11 @@
-%define releasedate 2008-12-12
+%define releasedate 2009-06-30
Name: ksh
Summary: The Original ATT Korn Shell
URL: http://www.kornshell.com/
Group: System Environment/Shells
License: CPL
-Version: 20081212
+Version: 20090630
Release: 1%{?dist}
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
@@ -15,6 +15,9 @@ Source4: dotkshrc
#don't use not wanted/needed builtins
Patch1: ksh-20070328-builtins.patch
+#435159 - check if there is looped list
+Patch2: ksh-20090630-jlist.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Conflicts: pdksh
Requires: coreutils, glibc-common, diffutils
@@ -32,6 +35,7 @@ with "sh" (the Bourne Shell).
%setup -q -c
%setup -q -T -D -a 1
%patch1 -p1 -b .builtins
+%patch2 -p1 -b .jlist
%build
./bin/package "read" ||:
@@ -84,6 +88,10 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Aug 27 2009 Michal Hlavinka <mhlavink at redhat.com> - 20090630-1
+- updated to 2009-06-30
+- fixes #518942
+
* Wed Jul 29 2009 Michal Hlavinka <mhlavink at redhat.com> - 20081212-1
- going back to 2008-12-12 because there is nothing else usable enough
- fixes #510833
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ksh/F-11/sources,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- sources 29 Jul 2009 07:42:20 -0000 1.19
+++ sources 27 Aug 2009 09:34:41 -0000 1.20
@@ -1,2 +1,2 @@
-a3286fec6748a34e46a89b2edbbaeb78 INIT.2008-12-12.tgz
-e339886eed78b6bb9b75565477ea9135 ast-ksh.2008-12-12.tgz
+9a96103105517702e116ba0267653f84 INIT.2009-06-30.tgz
+51c39250763366a68579806bcc77a098 ast-ksh.2009-06-30.tgz
- Previous message (by thread): rpms/ksh/devel ksh-20090630-jlist.patch, NONE, 1.1 .cvsignore, 1.17, 1.18 ksh.spec, 1.49, 1.50 sources, 1.18, 1.19
- Next message (by thread): rpms/ksh/F-11 ksh-20070328-builtins.patch,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list