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

Diff for /src/usr.bin/make/str.c between version 1.9 and 1.10

version 1.9, 1999/12/06 22:18:56 version 1.10, 1999/12/06 22:24:32
Line 412 
Line 412 
   
     if ((m = strchr(pat, '%')) != NULL) {      if ((m = strchr(pat, '%')) != NULL) {
         /* Copy the prefix */          /* Copy the prefix */
         Buf_AddBytes(buf, m - pat, (Byte *) pat);          Buf_AddChars(buf, m - pat, pat);
         /* skip the % */          /* skip the % */
         pat = m + 1;          pat = m + 1;
     }      }
   
     /* Copy the pattern */      /* Copy the pattern */
     Buf_AddBytes(buf, len, (Byte *) src);      Buf_AddChars(buf, len, src);
   
     /* append the rest */      /* append the rest */
     Buf_AddBytes(buf, strlen(pat), (Byte *) pat);      Buf_AddChars(buf, strlen(pat), pat);
 }  }
   
 char *  char *

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10