Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make usr.bin/make: fix typo in comment



details:   https://anonhg.NetBSD.org/src/rev/af6ca4b65d9a
branches:  trunk
changeset: 972884:af6ca4b65d9a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jun 13 07:30:02 2020 +0000

description:
usr.bin/make: fix typo in comment

diffstat:

 usr.bin/make/str.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 06d65bcab8ca -r af6ca4b65d9a usr.bin/make/str.c
--- a/usr.bin/make/str.c        Sat Jun 13 06:05:08 2020 +0000
+++ b/usr.bin/make/str.c        Sat Jun 13 07:30:02 2020 +0000
@@ -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 @@
                        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;



Home | Main Index | Thread Index | Old Index