diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1998-12-05 00:06:34 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1998-12-05 00:06:34 +0000 |
commit | 32435087c5f42cf9f9b6c2202ccb5159532977d7 (patch) | |
tree | 53783d2c1632360b0c896962e2fe75001677d4a1 /usr.bin/make/targ.c | |
parent | b3d8393fedf5aa80bf2e2f94079440ad857cc199 (diff) |
Modifications from netbsd:
- don't interfere with MACHINE/MACHINE_ARCH defines for bootstrap
- type clean-up, time_t, and printing `unknown' ints
- fix TARGET/MEMBER bug in archive rules
- memmove...
- cleaner Error handler.
- reentrant brk_string
- .MAKE env variable
- preliminary scaffolding for .NOPATH
Other improvements:
- efree
- shellneed streamlined
- display Stop in .CURDIR after an error.
- document most features and misfeatures.
- add a few OpenBSD notes to the tutorial.
Diffstat (limited to 'usr.bin/make/targ.c')
-rw-r--r-- | usr.bin/make/targ.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index 1549927f920..469896d4871 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -1,4 +1,4 @@ -/* $OpenBSD: targ.c,v 1.8 1998/03/30 06:59:38 deraadt Exp $ */ +/* $OpenBSD: targ.c,v 1.9 1998/12/05 00:06:29 espie Exp $ */ /* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */ /* @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)targ.c 8.2 (Berkeley) 3/19/94"; #else -static char *rcsid = "$OpenBSD: targ.c,v 1.8 1998/03/30 06:59:38 deraadt Exp $"; +static char *rcsid = "$OpenBSD: targ.c,v 1.9 1998/12/05 00:06:29 espie Exp $"; #endif #endif /* not lint */ @@ -215,8 +215,7 @@ TargFreeGN (gnp) free(gn->name); - if (gn->path) - free(gn->path); + efree(gn->path); Lst_Destroy(gn->iParents, NOFREE); Lst_Destroy(gn->cohorts, NOFREE); |