mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74933
@ -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