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
11a6b9c53f
commit
323ee87c02
@ -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…
x
Reference in New Issue
Block a user