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): add comment about missing unit test fo...



details:   https://anonhg.NetBSD.org/src/rev/bb78db5d6a6d
branches:  trunk
changeset: 957249:bb78db5d6a6d
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Nov 22 10:27:56 2020 +0000

description:
make(1): add comment about missing unit test for .MAIN in suffixes

diffstat:

 usr.bin/make/suff.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 10caaa52ca46 -r bb78db5d6a6d usr.bin/make/suff.c
--- a/usr.bin/make/suff.c       Sun Nov 22 10:24:52 2020 +0000
+++ b/usr.bin/make/suff.c       Sun Nov 22 10:27:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: suff.c,v 1.288 2020/11/22 10:24:52 rillig Exp $        */
+/*     $NetBSD: suff.c,v 1.289 2020/11/22 10:27:56 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -114,7 +114,7 @@
 #include "dir.h"
 
 /*     "@(#)suff.c     8.4 (Berkeley) 3/21/94" */
-MAKE_RCSID("$NetBSD: suff.c,v 1.288 2020/11/22 10:24:52 rillig Exp $");
+MAKE_RCSID("$NetBSD: suff.c,v 1.289 2020/11/22 10:27:56 rillig Exp $");
 
 #define SUFF_DEBUG0(text) DEBUG0(SUFF, text)
 #define SUFF_DEBUG1(fmt, arg1) DEBUG1(SUFF, fmt, arg1)
@@ -674,6 +674,10 @@
         * transformations, no matter whether or not a new .MAIN node
         * has been found.
         */
+       /*
+        * XXX: Even when changing this to FALSE, none of the existing unit
+        * tests fails.
+        */
        return TRUE;
     }
 



Home | Main Index | Thread Index | Old Index