diff options
author | ache <ache@FreeBSD.org> | 2001-03-27 23:24:25 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-03-27 23:24:25 +0000 |
commit | b3c7f151dc919c7483d83c1796430f22376a7ca9 (patch) | |
tree | 88e78fe88f18dcf8762d4b8f5de04dd8385b95ba /usr.bin/strings | |
parent | bb2fe3e83997fa63755384b3eb531b32bbfecbb1 (diff) | |
download | FreeBSD-src-b3c7f151dc919c7483d83c1796430f22376a7ca9.zip FreeBSD-src-b3c7f151dc919c7483d83c1796430f22376a7ca9.tar.gz |
Restore part of my fix spammed in v1.23:
fseeko(file_size, SEEK_SET) -> fseek(0L, SEEK_END)
1) File may grows between operations, so fseeko to file_size may miss
2) 0L, SEEK_END is the same code using in tail in all other places
Diffstat (limited to 'usr.bin/strings')
0 files changed, 0 insertions, 0 deletions