[BACK]Return to for.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/for.c between version 1.30 and 1.31

version 1.30, 2004/04/07 13:11:36 version 1.31, 2007/03/20 03:50:39
Line 139 
Line 139 
     For         *arg;      For         *arg;
     unsigned long n;      unsigned long n;
   
     while (*ptr && isspace(*ptr))      while (isspace(*ptr))
         ptr++;          ptr++;
   
     /* Parse loop.  */      /* Parse loop.  */
Line 157 
Line 157 
             return 0;              return 0;
         }          }
         endVar = ptr++;          endVar = ptr++;
         while (*ptr && isspace(*ptr))          while (isspace(*ptr))
             ptr++;              ptr++;
         /* End of variable list ? */          /* End of variable list ? */
         if (endVar - wrd == 2 && wrd[0] == 'i' && wrd[1] == 'n')          if (endVar - wrd == 2 && wrd[0] == 'i' && wrd[1] == 'n')
Line 204 
Line 204 
   
     if (*ptr == '.') {      if (*ptr == '.') {
   
         for (ptr++; *ptr && isspace(*ptr); ptr++)          for (ptr++; isspace(*ptr); ptr++)
             continue;              continue;
   
         if (strncmp(ptr, "endfor", 6) == 0 &&          if (strncmp(ptr, "endfor", 6) == 0 &&

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31