job.c (151162) | job.c (167329) |
---|---|
1/*- 2 * Copyright (c) 1988, 1989, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 1988, 1989 by Adam de Boor 5 * Copyright (c) 1989 by Berkeley Softworks 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by --- 26 unchanged lines hidden (view full) --- 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * @(#)job.c 8.2 (Berkeley) 3/19/94 40 */ 41 42#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1988, 1989, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 1988, 1989 by Adam de Boor 5 * Copyright (c) 1989 by Berkeley Softworks 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by --- 26 unchanged lines hidden (view full) --- 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * @(#)job.c 8.2 (Berkeley) 3/19/94 40 */ 41 42#include <sys/cdefs.h> |
43__FBSDID("$FreeBSD: head/usr.bin/make/job.c 151162 2005-10-09 06:36:51Z scottl $"); | 43__FBSDID("$FreeBSD: head/usr.bin/make/job.c 167329 2007-03-08 07:57:43Z will $"); |
44 45#ifndef OLD_JOKE 46#define OLD_JOKE 0 47#endif /* OLD_JOKE */ 48 49/*- 50 * job.c -- 51 * handle the creation etc. of our child processes. --- 2281 unchanged lines hidden (view full) --- 2333 */ 2334 fifoFd = open(env, O_RDWR, 0); 2335 if (fifoFd >= 0) { 2336 fcntl(fifoFd, F_SETFL, O_NONBLOCK); 2337 maxJobs = 1; 2338 jobFull = FALSE; 2339 } 2340 } | 44 45#ifndef OLD_JOKE 46#define OLD_JOKE 0 47#endif /* OLD_JOKE */ 48 49/*- 50 * job.c -- 51 * handle the creation etc. of our child processes. --- 2281 unchanged lines hidden (view full) --- 2333 */ 2334 fifoFd = open(env, O_RDWR, 0); 2335 if (fifoFd >= 0) { 2336 fcntl(fifoFd, F_SETFL, O_NONBLOCK); 2337 maxJobs = 1; 2338 jobFull = FALSE; 2339 } 2340 } |
2341 if (fifoFd <= 0) { | 2341 if (fifoFd < 0) { |
2342 maxJobs = maxproc; 2343 jobFull = FALSE; 2344 } else { 2345 } 2346 nJobs = 0; 2347 2348 aborting = 0; 2349 errors = 0; --- 1028 unchanged lines hidden --- | 2342 maxJobs = maxproc; 2343 jobFull = FALSE; 2344 } else { 2345 } 2346 nJobs = 0; 2347 2348 aborting = 0; 2349 errors = 0; --- 1028 unchanged lines hidden --- |