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

Diff for /src/usr.bin/make/buf.c between version 1.17 and 1.18

version 1.17, 2001/05/29 12:17:03 version 1.18, 2001/05/30 00:43:00
Line 128 
Line 128 
     const char  *bytesPtr;      const char  *bytesPtr;
 {  {
   
     if (bp->endPtr - bp->inPtr < numBytes+1)      if ((size_t)(bp->endPtr - bp->inPtr) < numBytes+1)
         BufExpand(bp, numBytes);          BufExpand(bp, numBytes);
   
     memcpy(bp->inPtr, bytesPtr, numBytes);      memcpy(bp->inPtr, bytesPtr, numBytes);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18