From: Jim Meyering Date: Sat, 25 Aug 2001 07:33:39 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-2_0_15~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f084382d5b7562fcfa387981e84e12a7b91006;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 4f2932a56a..7219a1372b 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,7 +1,25 @@ -2001-08-25 Jim Meyering * Version 2.0.15. +2001-08-24 Paul Eggert + + Remove arbitrary restrictions on sizes, fixing a bug reported + by Geoff Whale. + + * src/uniq.c (skip_fields, skip_chars, check_chars): Now size_t, + not int. + (size_opt): New function. Do not arbitrarily reject size zero. + Change the wording of the error message slightly, for convenience. + (find_field): Use size_t, not int, to compute sizes. + (different, main): check_chars==0 is no longer a special case, as + it defaults to SIZE_MAX. + (main): Check for overflow with args like -234234234234234. + Use 'size_opt' to convert optional arguments to sizes. + +2001-08-25 Jim Meyering + + * tests/uniq/Test.pm: Add new test, #54, for the just-fixed bug. + 2001-08-24 Paul Eggert * src/uniq.c (find_field): Don't count trailing newline to be