summaryrefslogtreecommitdiff
path: root/usr.bin/make/targ.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1998-12-05 00:06:34 +0000
committerMarc Espie <espie@cvs.openbsd.org>1998-12-05 00:06:34 +0000
commit32435087c5f42cf9f9b6c2202ccb5159532977d7 (patch)
tree53783d2c1632360b0c896962e2fe75001677d4a1 /usr.bin/make/targ.c
parentb3d8393fedf5aa80bf2e2f94079440ad857cc199 (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.c7
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);