=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/for.c,v retrieving revision 1.30 retrieving revision 1.31 diff -c -r1.30 -r1.31 *** src/usr.bin/make/for.c 2004/04/07 13:11:36 1.30 --- src/usr.bin/make/for.c 2007/03/20 03:50:39 1.31 *************** *** 1,5 **** /* $OpenPackages$ */ ! /* $OpenBSD: for.c,v 1.30 2004/04/07 13:11:36 espie Exp $ */ /* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */ /* --- 1,5 ---- /* $OpenPackages$ */ ! /* $OpenBSD: for.c,v 1.31 2007/03/20 03:50:39 tedu Exp $ */ /* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */ /* *************** *** 139,145 **** For *arg; unsigned long n; ! while (*ptr && isspace(*ptr)) ptr++; /* Parse loop. */ --- 139,145 ---- For *arg; unsigned long n; ! while (isspace(*ptr)) ptr++; /* Parse loop. */ *************** *** 157,163 **** return 0; } endVar = ptr++; ! while (*ptr && isspace(*ptr)) ptr++; /* End of variable list ? */ if (endVar - wrd == 2 && wrd[0] == 'i' && wrd[1] == 'n') --- 157,163 ---- return 0; } endVar = ptr++; ! while (isspace(*ptr)) ptr++; /* End of variable list ? */ if (endVar - wrd == 2 && wrd[0] == 'i' && wrd[1] == 'n') *************** *** 204,210 **** if (*ptr == '.') { ! for (ptr++; *ptr && isspace(*ptr); ptr++) continue; if (strncmp(ptr, "endfor", 6) == 0 && --- 204,210 ---- if (*ptr == '.') { ! for (ptr++; isspace(*ptr); ptr++) continue; if (strncmp(ptr, "endfor", 6) == 0 &&