Back out my fseeko -> fseek(END) change - we need to position on what we

displayed last, not to the end of file
This commit is contained in:
ache 2001-03-28 13:10:17 +00:00
parent 11a6b9c53f
commit 323ee87c02

View File

@ -302,7 +302,7 @@ rlines(fp, off, sbp)
}
/* Set the file pointer to reflect the length displayed. */
if (fseek(fp, 0L, SEEK_END) == -1) {
if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) {
ierr();
return;
}