Module Name: src
Committed By: rillig
Date: Sun Nov 22 10:22:23 UTC 2020
Modified Files:
src/usr.bin/make: suff.c
Log Message:
make(1): clean up comment about single-suffix inference rules
To generate a diff of this commit:
cvs rdiff -u -r1.286 -r1.287 src/usr.bin/make/suff.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/suff.c
diff -u src/usr.bin/make/suff.c:1.286 src/usr.bin/make/suff.c:1.287
--- src/usr.bin/make/suff.c:1.286 Sun Nov 22 10:11:23 2020
+++ src/usr.bin/make/suff.c Sun Nov 22 10:22:23 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: suff.c,v 1.286 2020/11/22 10:11:23 rillig Exp $ */
+/* $NetBSD: suff.c,v 1.287 2020/11/22 10:22:23 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.286 2020/11/22 10:11:23 rillig Exp $");
+MAKE_RCSID("$NetBSD: suff.c,v 1.287 2020/11/22 10:22:23 rillig Exp $");
#define SUFF_DEBUG0(text) DEBUG0(SUFF, text)
#define SUFF_DEBUG1(fmt, arg1) DEBUG1(SUFF, fmt, arg1)
@@ -478,11 +478,12 @@ ParseTransform(const char *str, Suffix *
if (singleSrc != NULL) {
/*
- * Not so fast Mr. Smith! There was a suffix that encompassed
- * the entire string, so we assume it was a transformation
- * to the null suffix (thank you POSIX). We still prefer to
- * find a double rule over a singleton, hence we leave this
- * check until the end.
+ * There was a suffix that encompassed the entire string, so we
+ * assume it was a transformation to the null suffix (thank you
+ * POSIX; search for "single suffix" or "single-suffix").
+ *
+ * We still prefer to find a double rule over a singleton,
+ * hence we leave this check until the end.
*
* XXX: Use emptySuff over nullSuff?
*/