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