Drop unused patches

This commit is contained in:
Tomas Smetana 2007-07-12 07:30:14 +00:00
parent 3de28ba7fa
commit 374f3b47a5
5 changed files with 0 additions and 73 deletions

View File

@ -1,8 +1,3 @@
ast-base-locale.2007-01-11.tgz
ast-ksh.2007-01-11.tgz
INIT.2007-01-11.tar
INIT.2007-03-28.tgz
ast-ksh.2007-03-28.tgz
ast-base-locale.2007-03-28.tgz
ast-ksh.2007-06-28.tgz
INIT.2007-06-28.tgz

View File

@ -1,33 +0,0 @@
--- ksh-20070328/src/cmd/ksh93/sh/jobs.c.exit19 2007-05-22 11:51:10.000000000 +0200
+++ ksh-20070328/src/cmd/ksh93/sh/jobs.c 2007-05-22 11:55:55.000000000 +0200
@@ -307,7 +307,8 @@
else
{
pw->p_flag |= (P_DONE|P_NOTIFY);
- if(WEXITSTATUS(wstat) > pw->p_exit)
+ pw->p_exit = pw->p_exitmin;
+ if(WEXITSTATUS(wstat) > pw->p_exitmin)
pw->p_exit = WEXITSTATUS(wstat);
}
if(pw->p_pgrp==0)
@@ -1068,8 +1069,8 @@
pw->p_env = sh.curenv;
pw->p_pid = pid;
pw->p_flag = P_EXITSAVE;
- pw->p_exit = sh.xargexit;
- sh.xargexit = 0;
+ pw->p_exitmin = sh.xargexit;
+ pw->p_exit = 0;
if(sh_isstate(SH_MONITOR))
{
if(killpg(job.curpgid,0)<0 && errno==ESRCH)
--- ksh-20070328/src/cmd/ksh93/include/jobs.h.exit19 2007-05-22 11:51:29.000000000 +0200
+++ ksh-20070328/src/cmd/ksh93/include/jobs.h 2007-05-22 11:52:14.000000000 +0200
@@ -64,6 +64,7 @@
pid_t p_fgrp; /* process group when stopped */
short p_job; /* job number of process */
unsigned short p_exit; /* exit value or signal number */
+ unsigned short p_exitmin; /* minimum exit value for xargs */
unsigned char p_flag; /* flags - see below */
int p_env; /* subshell environment number */
#ifdef JOBS

View File

@ -1,20 +0,0 @@
--- ksh-20070328/src/cmd/ksh93/sh/xec.c.orig 2007-04-19 08:54:10.000000000 +0200
+++ ksh-20070328/src/cmd/ksh93/sh/xec.c 2007-04-19 08:55:56.000000000 +0200
@@ -1190,6 +1190,8 @@
}
sh_popcontext(&buff);
sh_iorestore(buff.topfd,jmpval);
+ if(buff.olist)
+ free_list(buff.olist);
if(type&FPIN)
{
job.waitall = waitall;
@@ -2878,6 +2880,8 @@
else
exitset();
sh_popcontext(&buff);
+ if(buff.olist)
+ free_list(buff.olist);
#ifdef SIGTSTP
if(jobwasset)
{

View File

@ -1,13 +0,0 @@
--- ksh-20070328/src/cmd/ksh93/sh/init.c.loginsh 2007-04-17 13:49:15.000000000 +0200
+++ ksh-20070328/src/cmd/ksh93/sh/init.c 2007-04-17 13:49:54.000000000 +0200
@@ -790,6 +790,10 @@
register const char* s;
register int t = 0;
+ if (*path == '-')
+ {
+ t |= SH_TYPE_LOGIN;
+ }
if (s = (const char*)strrchr(path, '/'))
s++;
else

View File

@ -1,5 +1,3 @@
c257f2557e3e136c05b8e7eb0ac1aab0 INIT.2007-03-28.tgz
9227250fa6ad2235cc8665bb664cc740 ast-ksh.2007-03-28.tgz
1763efbc8217d0399f08bdeb31168e9a ast-base-locale.2007-03-28.tgz
c9096f6ecfe49010aed0eb5f4dda9757 ast-ksh.2007-06-28.tgz
6d515cfbb3191bd78c567a2ed0035dd1 INIT.2007-06-28.tgz