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): use canonical character comparison in ...
details: https://anonhg.NetBSD.org/src/rev/8835c9b58d7d
branches: trunk
changeset: 957264:8835c9b58d7d
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Nov 22 19:14:24 2020 +0000
description:
make(1): use canonical character comparison in ParseDoDependencyTargets
diffstat:
usr.bin/make/parse.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 02e6e33ae249 -r 8835c9b58d7d usr.bin/make/parse.c
--- a/usr.bin/make/parse.c Sun Nov 22 18:44:10 2020 +0000
+++ b/usr.bin/make/parse.c Sun Nov 22 19:14:24 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.445 2020/11/20 20:01:16 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.446 2020/11/22 19:14:24 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -117,7 +117,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.445 2020/11/20 20:01:16 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.446 2020/11/22 19:14:24 rillig Exp $");
/* types and constants */
@@ -1462,7 +1462,7 @@
continue;
}
- if (!*cp) {
+ if (*cp == '\0') {
ParseErrorNoDependency(lstart);
return FALSE;
}
Home |
Main Index |
Thread Index |
Old Index