od: fix a bug that arises when skipping exact length of file
authorJim Meyering <jim@meyering.net>
Tue, 14 Aug 2007 07:46:32 +0000 (09:46 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 14 Aug 2007 07:47:05 +0000 (09:47 +0200)
commit1490f2dbf33ca75f060890013fb0d8caf28225aa
treedd888c957f308def22830487dfaf6a66060c517d
parented31c612c12e603ce86073952018bf7f00f9cd59
od: fix a bug that arises when skipping exact length of file
* NEWS: Document the bug fix.
* src/od.c (skip): Call fseek even when n_skip is exactly the
same as the length of the current file.  Otherwise, the next
iteration would use unadjusted input stream pointer, thus ignoring
the desired "skip".  Report and patch by Paul GHALEB.
ChangeLog
NEWS
THANKS
src/od.c