From: Jim Meyering Date: Sun, 4 Jul 1999 10:16:28 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-1_22n~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3ee42e3b09e64928a9e877cf7f345b8d33e94be;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index e0446eb869..64c8852c36 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -15,6 +15,33 @@ * tests/Makefile.am: Qualify .env-warn with $(srcdir)/ prefix. +1999-05-25 Paul Eggert + + * lib/linebuffer.c (readline): + Append trailing newline to line. + * lib/linebuffer.h + [struct linebuffer] (size): Declare to be of type size_t, not long. + [struct linebuffer] (length): Likewise. + * src/comm.c, (writeline): Lines now contain trailing newline. + * src/uniq.c (find_field, different): Use size_t, not int, for lengths. + (writeline): Lines now contain trailing newline. + (check_file): Use size_t, not int, for lengths. + * src/nl.c (proc_text, check_section, main): More of the same. + + * lib/linebuffer.h (struct linebuffer): Use size_t for sizes. + src/nl.c (header_del_len, body_del_len, footer_del_len, main): + Likewise. + src/uniq.c (find_field, different, check_file): Likewise. + + * lib/linebuffer.c (readline): Silently append trailing + newline if needed. Do not bother setting buffer length to 0 + at EOF, since it's not part of the spec and nobody relies on + it. Do not compute the difference between unrelated pointers. + +1999-05-25 Paul Eggert + + * src/tac.c (memrchr): Ifdef out this unused function. + 1999-05-25 Jim Meyering * doc/textutils.texi (Squeezing): Remove misleading square brackets