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

Diff for /src/usr.bin/strip/Attic/strip.c between version 1.11 and 1.12

version 1.11, 1999/05/10 16:14:07 version 1.12, 2000/06/30 16:00:20
Line 201 
Line 201 
   
         /* Truncate the file. */          /* Truncate the file. */
         if (ftruncate(fd, neweof - (char *)ep)) {          if (ftruncate(fd, neweof - (char *)ep)) {
                 warn(fn);                  warn("%s", fn);
                 return 1;                  return 1;
         }          }
   
Line 295 
Line 295 
   
         /* Truncate to the current length. */          /* Truncate to the current length. */
         if (ftruncate(fd, (char *)nsym + len - (char *)ep)) {          if (ftruncate(fd, (char *)nsym + len - (char *)ep)) {
                 warn(fn);                  warn("%s", fn);
                 return 1;                  return 1;
         }          }
   

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12