=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/parse.c,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- src/usr.bin/make/parse.c 2007/01/18 17:49:51 1.70 +++ src/usr.bin/make/parse.c 2007/03/20 03:50:39 1.71 @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: parse.c,v 1.70 2007/01/18 17:49:51 espie Exp $ */ +/* $OpenBSD: parse.c,v 1.71 2007/03/20 03:50:39 tedu Exp $ */ /* $NetBSD: parse.c,v 1.29 1997/03/10 21:20:04 christos Exp $ */ /* @@ -838,7 +838,7 @@ Parse_Error(PARSE_WARNING, "Extra target ignored"); } } else { - while (*cp && isspace(*cp)) { + while (isspace(*cp)) { cp++; } } @@ -885,7 +885,7 @@ /* * Get to the first source */ - while (*cp && isspace(*cp)) { + while (isspace(*cp)) { cp++; } line = cp; @@ -997,7 +997,7 @@ if (savec != '\0') { cp++; } - while (*cp && isspace(*cp)) { + while (isspace(*cp)) { cp++; } line = cp; @@ -1047,7 +1047,7 @@ ParseDoSrc(tOp, line); } - while (*cp && isspace(*cp)) { + while (isspace(*cp)) { cp++; } line = cp; @@ -1378,7 +1378,7 @@ char *stripped; - while (*line != '\0' && isspace(*line)) + while (isspace(*line)) line++; /* The line might be a conditional. Ask the conditional module @@ -1389,7 +1389,7 @@ do { line = Parse_ReadNextConditionalLine(linebuf); if (line != NULL) { - while (*line != '\0' && isspace(*line)) + while (isspace(*line)) line++; stripped = strip_comments(copy, line); } @@ -1425,7 +1425,7 @@ char *cp; line+=5; - while (*line != '\0' && isspace(*line)) + while (isspace(*line)) line++; for (cp = line; !isspace(*cp) && *cp != '\0';) cp++;