Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 2010 22:25:58 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 183348 for review
Message-ID:  <201009042225.o84MPwf8058375@skunkworks.freebsd.org>

index | next in thread | raw e-mail

http://p4web.freebsd.org/@@183348?ac=10

Change 183348 by gcooper@gcooper-bayonetta on 2010/09/04 22:25:30

	IFC again.

Affected files ...

.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/bin/sh/eval.c#6 integrate

Differences ...

==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/bin/sh/eval.c#6 (text+ko) ====

@@ -36,7 +36,7 @@
 #endif
 #endif /* not lint */
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/bin/sh/eval.c,v 1.85 2010/08/13 20:29:43 jilles Exp $");
+__FBSDID("$FreeBSD: src/bin/sh/eval.c,v 1.86 2010/09/04 21:23:46 jilles Exp $");
 
 #include <paths.h>
 #include <signal.h>
@@ -995,7 +995,7 @@
 	goto out;
 
 parent:	/* parent process gets here (if we forked) */
-	if (mode == 0) {	/* argument to fork */
+	if (mode == FORK_FG) {	/* argument to fork */
 		INTOFF;
 		exitstatus = waitforjob(jp, &realstatus);
 		INTON;
@@ -1003,7 +1003,7 @@
 			evalskip = SKIPBREAK;
 			skipcount = loopnest;
 		}
-	} else if (mode == 2) {
+	} else if (mode == FORK_NOJOB) {
 		backcmd->fd = pip[0];
 		close(pip[1]);
 		backcmd->jp = jp;


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009042225.o84MPwf8058375>