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 local variable name in meta_create



details:   https://anonhg.NetBSD.org/src/rev/62b9e50a4211
branches:  trunk
changeset: 957419:62b9e50a4211
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 28 10:25:45 2020 +0000

description:
make(1): fix local variable name in meta_create

diffstat:

 usr.bin/make/meta.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 65f4b0eb16c1 -r 62b9e50a4211 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sat Nov 28 10:09:28 2020 +0000
+++ b/usr.bin/make/meta.c       Sat Nov 28 10:25:45 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.150 2020/11/27 08:18:14 rillig Exp $ */
+/*      $NetBSD: meta.c,v 1.151 2020/11/28 10:25:45 rillig Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -477,11 +477,11 @@
     const char *tname;
     char *fname;
     const char *cp;
-    void *objdir_freeIt;
+    void *dname_freeIt;
 
     fp = NULL;
 
-    dname = Var_Value(".OBJDIR", gn, &objdir_freeIt);
+    dname = Var_Value(".OBJDIR", gn, &dname_freeIt);
     tname = GNode_VarTarget(gn);
 
     /* if this succeeds objdir is realpath of dname */
@@ -548,7 +548,7 @@
            gn->type |= OP_SILENT;
     }
  out:
-    bmake_free(objdir_freeIt);
+    bmake_free(dname_freeIt);
 
     return fp;
 }



Home | Main Index | Thread Index | Old Index