PERFORCE change 183348 for review

Garrett Cooper gcooper at FreeBSD.org
Sat Sep 4 22:25:59 UTC 2010


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

Change 183348 by gcooper at 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;


More information about the p4-projects mailing list