From: Jim Meyering Date: Fri, 5 Sep 2003 20:45:32 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.0.91~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=098a0f56ca1c6c3b89e48e42fcb4900b3fab58bd;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 10e609c379..2e37d0a1d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,15 +9,13 @@ 2003-09-04 Paul Eggert - Fix a bug reported by Andreas Schwab in - . * src/head.c (elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes. * src/tail.c (pipe_lines, pipe_bytes): Likewise. * src/head.c (struct linebuffer): Change nbytes and nlines from unsigned int to size_t. unsigned int is safe (after the - changes noted above) but size_t is cleaner. + 2003-09-03 patch) but size_t is cleaner. * src/tail.c (struct linebuffer, struct charbuffer): Likewise. (pipe_bytes): Likewise for local variable 'i', which was 'int'. @@ -73,6 +71,8 @@ 2003-09-03 Andreas Schwab + Bug report and patch here: + * src/tail.c (pipe_lines): Don't truncate return value from safe_read. * src/head.c (elide_tail_lines_pipe): Likewise.