Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make More cleanup code bites it.



details:   https://anonhg.NetBSD.org/src/rev/cd398ce789fc
branches:  trunk
changeset: 476377:cd398ce789fc
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Sep 15 08:48:17 1999 +0000

description:
More cleanup code bites it.

diffstat:

 usr.bin/make/main.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r afe755dbc59f -r cd398ce789fc usr.bin/make/main.c
--- a/usr.bin/make/main.c       Wed Sep 15 08:43:21 1999 +0000
+++ b/usr.bin/make/main.c       Wed Sep 15 08:48:17 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.48 1999/09/04 04:21:28 christos Exp $       */
+/*     $NetBSD: main.c,v 1.49 1999/09/15 08:48:17 mycroft Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -39,7 +39,7 @@
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: main.c,v 1.48 1999/09/04 04:21:28 christos Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.49 1999/09/15 08:48:17 mycroft Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
@@ -51,7 +51,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.48 1999/09/04 04:21:28 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.49 1999/09/15 08:48:17 mycroft Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -835,10 +835,12 @@
                Compat_Run(targs);
        }
 
+#ifdef CLEANUP
        Lst_Destroy(targs, NOFREE);
        Lst_Destroy(variables, NOFREE);
        Lst_Destroy(makefiles, NOFREE);
        Lst_Destroy(create, (void (*) __P((ClientData))) free);
+#endif
 
        /* print the graph now it's been processed if the user requested it */
        if (DEBUG(GRAPH2))



Home | Main Index | Thread Index | Old Index