![]() ![]() | ![]() |
version 1.11, 1999/05/10 16:14:07 | version 1.12, 2000/06/30 16:00:20 | ||
---|---|---|---|
|
|
||
/* 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; | ||
} | } | ||
|
|
||
/* 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; | ||
} | } | ||