diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-25 07:33:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-25 07:33:39 +0000 |
commit | 74f084382d5b7562fcfa387981e84e12a7b91006 (patch) | |
tree | e046593a3087906e8b4f8ce3a732c469465ed056 /old | |
parent | 59d2dceb2c2c8ce3ff1ac9a5cfc4e53d5b4c56af (diff) | |
download | coreutils-74f084382d5b7562fcfa387981e84e12a7b91006.tar.xz |
*** empty log message ***
Diffstat (limited to 'old')
-rw-r--r-- | old/textutils/ChangeLog | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 4f2932a56..7219a1372 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,9 +1,27 @@ -2001-08-25 Jim Meyering <meyering@lucent.com> * Version 2.0.15. 2001-08-24 Paul Eggert <eggert@twinsun.com> + 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 <meyering@lucent.com> + + * tests/uniq/Test.pm: Add new test, #54, for the just-fixed bug. + +2001-08-24 Paul Eggert <eggert@twinsun.com> + * src/uniq.c (find_field): Don't count trailing newline to be part of the field. This disagrees with POSIX.2, but it's gotta be a bug in the standard. An interpretations request |