summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--old/textutils/ChangeLog20
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