Module Name: src
Committed By: rillig
Date: Sat Jun 13 07:30:02 UTC 2020
Modified Files:
src/usr.bin/make: str.c
Log Message:
usr.bin/make: fix typo in comment
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/make/str.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/str.c
diff -u src/usr.bin/make/str.c:1.42 src/usr.bin/make/str.c:1.43
--- src/usr.bin/make/str.c:1.42 Wed May 6 02:30:10 2020
+++ src/usr.bin/make/str.c Sat Jun 13 07:30:02 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: str.c,v 1.42 2020/05/06 02:30:10 christos Exp $ */
+/* $NetBSD: str.c,v 1.43 2020/06/13 07:30:02 rillig Exp $ */
/*-
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: str.c,v 1.42 2020/05/06 02:30:10 christos Exp $";
+static char rcsid[] = "$NetBSD: str.c,v 1.43 2020/06/13 07:30:02 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)str.c 5.8 (Berkeley) 6/1/90";
#else
-__RCSID("$NetBSD: str.c,v 1.42 2020/05/06 02:30:10 christos Exp $");
+__RCSID("$NetBSD: str.c,v 1.43 2020/06/13 07:30:02 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -415,8 +415,8 @@ Str_Match(const char *string, const char
goto thisCharOK;
}
/*
- * If the next pattern character is '/', just strip off the
- * '/' so we do exact matching on the character that follows.
+ * If the next pattern character is a backslash, just strip it
+ * off so we do exact matching on the character that follows.
*/
if (*pattern == '\\') {
++pattern;