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:
Andrey A. Chernov 2001-03-28 13:10:17 +00:00
parent ad84c9eb36
commit a74da62e70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74933

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;
}