[66551] trunk/dports/shells/ksh93
brett at macports.org
brett at macports.org
Fri Apr 16 09:20:02 PDT 2010
Revision: 66551
http://trac.macports.org/changeset/66551
Author: brett at macports.org
Date: 2010-04-16 09:20:00 -0700 (Fri, 16 Apr 2010)
Log Message:
-----------
#24410 background job patch
Modified Paths:
--------------
trunk/dports/shells/ksh93/Portfile
Added Paths:
-----------
trunk/dports/shells/ksh93/files/
trunk/dports/shells/ksh93/files/patch-jobs.c.diff
Modified: trunk/dports/shells/ksh93/Portfile
===================================================================
--- trunk/dports/shells/ksh93/Portfile 2010-04-16 16:06:25 UTC (rev 66550)
+++ trunk/dports/shells/ksh93/Portfile 2010-04-16 16:20:00 UTC (rev 66551)
@@ -29,6 +29,8 @@
extract.dir ${worksrcpath}
+patchfiles patch-jobs.c.diff
+
use_configure no
build.cmd bin/package
Added: trunk/dports/shells/ksh93/files/patch-jobs.c.diff
===================================================================
--- trunk/dports/shells/ksh93/files/patch-jobs.c.diff (rev 0)
+++ trunk/dports/shells/ksh93/files/patch-jobs.c.diff 2010-04-16 16:20:00 UTC (rev 66551)
@@ -0,0 +1,22 @@
+--- src/cmd/ksh93/sh/jobs.orig 2010-04-08 20:57:10.000000000 +0700
++++ src/cmd/ksh93/sh/jobs.c 2010-04-08 20:59:19.000000000 +0700
+@@ -322,7 +322,9 @@
+ #ifdef SIGTSTP
+ else
+ px=job_byjid(pw->p_job);
+- if(WIFSTOPPED(wstat))
++ if(WIFCONTINUED(wstat) && wcontinued)
++ pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED);
++ else if(WIFSTOPPED(wstat))
+ {
+ if(px)
+ {
+@@ -337,8 +339,6 @@
+ sh_fault(pw->p_exit);
+ continue;
+ }
+- else if (WIFCONTINUED(wstat) && wcontinued)
+- pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED);
+ else
+ #endif /* SIGTSTP */
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100416/64abd8ce/attachment.html>
More information about the macports-changes
mailing list