From: Jim Meyering Date: Wed, 19 Sep 2001 10:34:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-2_0_15~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a0dcd18c4c3d760e7be168ca94d670515d1a270;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 16efd122ec..9b274c5f18 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,7 +1,29 @@ -2001-09-16 Jim Meyering +2001-09-19 Jim Meyering * Version 2.0.15. + * src/od.c (open_next_file): Use SETVBUF, not setbuf. + (skip): Revert part of last change: use lseek, not fseek. + + When --read-bytes=N (-N N) is used, disable input buffering in + the standard I/O library. Otherwise, od would read more input + than requested. This could have caused problems when reading + from pipes, character devices, or open file descriptors inherited + from a parent process. + + * src/od.c (open_next_file): New function, factored out of... + (skip): Adapt to use open_next_file. + (read_char): Likewise. + (read_block): Likewise. + (main): Likewise. + (dump): Fix an off-by-one error that could have made od fail to + report a read error when reading from a named file (not stdin). + (check_and_close): Account for the fact that in_stream may now be NULL. + (usage): Correct descriptions of -j and -N options. + Patch by Ian Bruce. + +2001-09-16 Jim Meyering + * Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.5. * man/Makefile.am: Revamp this file, as for fileutils.