updated to 2009-06-30
This commit is contained in:
parent
f532cf1d93
commit
fdff0925cb
@ -1,2 +1,2 @@
|
||||
INIT.2009-05-01.tgz
|
||||
ast-ksh.2009-05-01.tgz
|
||||
INIT.2009-06-30.tgz
|
||||
ast-ksh.2009-06-30.tgz
|
||||
|
23
ksh-20090630-jlist.patch
Normal file
23
ksh-20090630-jlist.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
15
ksh.spec
15
ksh.spec
@ -1,20 +1,23 @@
|
||||
%define releasedate 2009-05-05
|
||||
%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: 20090505
|
||||
Release: 2%{?dist}
|
||||
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
|
||||
Source3: kshrc.rhs
|
||||
Source4: dotkshrc
|
||||
|
||||
#don't use not wanted/needed builtins
|
||||
#don't use not wanted/needed builtins - Fedora specific
|
||||
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,9 @@ fi
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Thu Aug 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 20090630-1
|
||||
- updated to 2009-06-30
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090505-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user