From 1490f2dbf33ca75f060890013fb0d8caf28225aa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 14 Aug 2007 09:46:32 +0200 Subject: 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 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1cd7390b4..df1718e74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-08-14 Jim Meyering + + 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. + 2007-08-10 Paul Eggert Accommodate more xstrtol changes. -- cgit v1.2.3-70-g09d2