Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): fix main_CleanUp in -DCLEANUP mode (br...



details:   https://anonhg.NetBSD.org/src/rev/73abe699a725
branches:  trunk
changeset: 946488:73abe699a725
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Nov 29 00:42:01 2020 +0000

description:
make(1): fix main_CleanUp in -DCLEANUP mode (broken since 1 hour)

Broken since main.c 1.486 from 2020-11-28, about 1 hour ago.

diffstat:

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

diffs (27 lines):

diff -r d7fe12a2f630 -r 73abe699a725 usr.bin/make/main.c
--- a/usr.bin/make/main.c       Sun Nov 29 00:04:22 2020 +0000
+++ b/usr.bin/make/main.c       Sun Nov 29 00:42:01 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.488 2020/11/29 00:04:22 rillig Exp $        */
+/*     $NetBSD: main.c,v 1.489 2020/11/29 00:42:01 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -109,7 +109,7 @@
 #include "trace.h"
 
 /*     "@(#)main.c     8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: main.c,v 1.488 2020/11/29 00:04:22 rillig Exp $");
+MAKE_RCSID("$NetBSD: main.c,v 1.489 2020/11/29 00:42:01 rillig Exp $");
 #if defined(MAKE_NATIVE) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
            "The Regents of the University of California.  "
@@ -1627,7 +1627,7 @@
         * used in GNodes.
         */
        Lst_Done(&opts.makefiles);
-       Lst_Destroy(&opts.create, free);
+       Lst_DoneCall(&opts.create, free);
 #endif
 
        /* print the graph now it's been processed if the user requested it */



Home | Main Index | Thread Index | Old Index