aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2016-05-20 16:19:56 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2016-05-20 16:19:56 +0000
commite917534a842fe9ce606f648cd65fd6ea433c7013 (patch)
treedaf9dd79fff13b1a1ce054240f3d324cb88485f1 /parse.c
parentb7ff84ad756783ecadb3ce2c732c71c4c7d8e1f7 (diff)
downloadsrc-e917534a842fe9ce606f648cd65fd6ea433c7013.tar.gz
src-e917534a842fe9ce606f648cd65fd6ea433c7013.zip
Import bmake-20160512vendor/NetBSD/bmake/20160512
Interesting changes (from ChangeLog): o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS this is useful for gcov builds. o propagate errors from filemon(4). o meta.c: apply realpath() before matching against metaIgnorePaths o allow makefile to set .MAKE.JOBS
Notes
Notes: svn path=/vendor/NetBSD/bmake/dist/; revision=300309 svn path=/vendor/NetBSD/bmake/20160512/; revision=300310; tag=vendor/NetBSD/bmake/20160512
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/parse.c b/parse.c
index 03275e2c5085..6d2cfb40a6e1 100644
--- a/parse.c
+++ b/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $ */
+/* $NetBSD: parse.c,v 1.214 2016/04/06 09:57:00 gson Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.214 2016/04/06 09:57:00 gson Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $");
+__RCSID("$NetBSD: parse.c,v 1.214 2016/04/06 09:57:00 gson Exp $");
#endif
#endif /* not lint */
#endif
@@ -809,11 +809,11 @@ ParseMessage(char *line)
return FALSE;
}
- while (isalpha((u_char)*line))
+ while (isalpha((unsigned char)*line))
line++;
- if (!isspace((u_char)*line))
+ if (!isspace((unsigned char)*line))
return FALSE; /* not for us */
- while (isspace((u_char)*line))
+ while (isspace((unsigned char)*line))
line++;
line = Var_Subst(NULL, line, VAR_CMD, VARF_WANTRES);