From 566dee1e9637e7244a87e975fbda570b35767876 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 5 Sep 2003 19:11:20 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8668ac84ed..10e609c379 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,9 +2,34 @@ * Version 5.0.91. + * Use automake-1.7.6b and autoconf-2.57b. Regenerate dependent files. + * tests/tail-2/tail-n0f: Wait .5 seconds for backgrounded process to start, rather than just .1. Upon failure, print unexpected state. +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. + * src/tail.c (struct linebuffer, struct charbuffer): Likewise. + (pipe_bytes): Likewise for local variable 'i', which was 'int'. + + Standardize on BUFSIZ as opposed to other macro names and values. + * src/head.c (BUFSIZE): Remove. All uses changed to BUFSIZ. + * src/tail.c (BUFSIZ) [!defined BUFSIZ]: Remove. + stdio.h has always defined it, + and other code already assumes it's defined. + * src/tr.c (BUFSIZ) [!defined BUFSIZ]: Likewise. + (IO_BUF_SIZE): Remove; replace all uses with sizeof io_buf. + (io_buf): IO_BUF_SIZE -> BUFSIZ. + 2003-09-04 Paul Eggert * src/seq.c (step): Default to 1. -- 2.47.2