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:
parent
ad84c9eb36
commit
a74da62e70
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user