diff options
author | briggs <briggs@cvs.openbsd.org> | 1996-09-02 16:04:23 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1996-09-02 16:04:23 +0000 |
commit | 9150de05a8f19f682fd7c79d1eac7110e77502cc (patch) | |
tree | 9b6b4c8273ec82e564c60b60ff6dc55f377f7be1 /usr.bin/make/job.c | |
parent | a64dba30d8dda4d3d00f553662090e44b77462db (diff) |
Sync up with NetBSD:
(christos)
Fix bug reported by Greg Hudson where leaf (source only) nodes were
referenced only by their basename and not by their full pathname. This
breaks when .PATH or MAKEOBJDIR are used. There might be Makefiles
around that try to work around this bug by prepending ${.CURDIR} to
the sources, and they should be found and fixed. Also a lot of the gunk
in suff.c that was attempting to work around the same problem could be
removed.
(christos)
- Move -D flags from Makefile to config.h and explain what they do. Add
-Wall -Wno-unused to CFLAGS. Add new define SYSVVARSUB to enable SysV
style variable substitutions and enable them.
- Add SunOS style command substitutions via SUNSHCMD
- Fix core dump with '{variable = value'
(christos)
Fix bug where make will always exit with 0, even when one or more
parallel jobs failed. (Only affects parallel make code)
(christos)
Protect __P from being multiply defined (for systems that already
define it)
(christos) Add strdup() since ultrix is missing it.
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
(christos) Add estrdup(), a checked version of strdup and use it.
(christos) Recognize SVR4 style long filename entries in archives.
(thorpej) Tidy up some RCS ids a bit.
Diffstat (limited to 'usr.bin/make/job.c')
-rw-r--r-- | usr.bin/make/job.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 0474a423106..f1e45d28d41 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,5 +1,5 @@ -/* $OpenBSD: job.c,v 1.4 1996/06/26 05:36:32 deraadt Exp $ */ -/* $NetBSD: job.c,v 1.14 1996/02/04 22:20:42 christos Exp $ */ +/* $OpenBSD: job.c,v 1.5 1996/09/02 16:04:11 briggs Exp $ */ +/* $NetBSD: job.c,v 1.15 1996/05/29 15:28:05 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)job.c 5.15 (Berkeley) 3/1/91"; #else -static char rcsid[] = "$OpenBSD: job.c,v 1.4 1996/06/26 05:36:32 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: job.c,v 1.5 1996/09/02 16:04:11 briggs Exp $"; #endif #endif /* not lint */ @@ -970,7 +970,7 @@ JobFinish(job, status) job->node->made = MADE; Make_Update(job->node); free((Address)job); - } else if (*status == 0) { + } else if (*status != 0) { errors += 1; free((Address)job); } |