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

Diff for /src/usr.bin/make/job.c between version 1.13 and 1.14

version 1.13, 1999/10/05 22:06:24 version 1.14, 1999/11/11 11:35:17
Line 1970 
Line 1970 
     register char *ecp;      register char *ecp;
   
     if (commandShell->noPrint) {      if (commandShell->noPrint) {
         ecp = Str_FindSubstring(cp, commandShell->noPrint);          ecp = strstr(cp, commandShell->noPrint);
         while (ecp != NULL) {          while (ecp != NULL) {
             if (cp != ecp) {              if (cp != ecp) {
                 *ecp = '\0';                  *ecp = '\0';
Line 1998 
Line 1998 
                 while (*cp == ' ' || *cp == '\t' || *cp == '\n') {                  while (*cp == ' ' || *cp == '\t' || *cp == '\n') {
                     cp++;                      cp++;
                 }                  }
                 ecp = Str_FindSubstring(cp, commandShell->noPrint);                  ecp = strstr(cp, commandShell->noPrint);
             } else {              } else {
                 return cp;                  return cp;
             }              }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14