summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-21 09:36:25 +0000
committerJim Meyering <jim@meyering.net>2002-11-21 09:36:25 +0000
commit96a2f00434c2e3cb8d7741096f16cac8a480929c (patch)
treee0069abcd9b77070579128153d9823303f19ae12 /lib
parentaca318c51e10b67493d1456bc244f7cf91e87ec7 (diff)
downloadcoreutils-96a2f00434c2e3cb8d7741096f16cac8a480929c.tar.xz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 70022842d..cefdbd62d 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -2,6 +2,26 @@
* README: Update from gnulib.
+2002-11-20 Paul Eggert <eggert@twinsun.com>
+
+ Merge argmatch cleanups from Bison. Assume C89.
+
+ * argmatch.c: Include config.h here, not in argmatch.h.
+ Include stdlib.h, for EXIT_FAILURE.
+ Always include <string.h>, since we assume C89.
+ (EXIT_FAILURE): Remove pre-C89 bug workaround.
+ * argmatch.h: Do not include <config.h> or <sys/types.h>.
+ Include <stddef.h> instead, since it's all we need for size_t.
+ (PARAMS): Remove. All uses removed.
+ (ARRAY_CARDINALITY): Do not bother to #undef.
+ (ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
+ ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
+ Remove unnecessary parentheses.
+ (ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
+ Insert necessary parentheses.
+ (ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
+ (ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.
+
2002-11-19 Jim Meyering <jim@meyering.net>
Be careful not to clobber errno.