gnulib.git
21 years ago(FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not
Paul Eggert [Tue, 10 Dec 2002 19:41:28 +0000 (19:41 +0000)]
(FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not
defined (e.g., a pure POSIX system).
(EXCLUDE_macros_do_not_collide_with_FNM_macros): Use FNM_PATHNAME
instead of FNM_FILE_NAME, for compatibility with pure POSIX sytems.

21 years ago(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
Paul Eggert [Tue, 10 Dec 2002 19:40:58 +0000 (19:40 +0000)]
(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
Choose values that are less likely to collide with system fnmatch
options.

21 years agoAdd more comments to latest changelog change.
Paul Eggert [Fri, 6 Dec 2002 19:42:39 +0000 (19:42 +0000)]
Add more comments to latest changelog change.

21 years agoUndo the 2001-07-02 change for jm-glibc-io, as it was too much of
Paul Eggert [Fri, 6 Dec 2002 19:28:32 +0000 (19:28 +0000)]
Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
a pain in practice to deal with generated m4 files.  This change
goes together with the 2002-12-04 unlocked-io.h change in ../lib.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 08:08:23 +0000 (08:08 +0000)]
*** empty log message ***

21 years agoBe consistent: change `#ifndef _LIBC' to `#if !_LIBC'.
Jim Meyering [Fri, 6 Dec 2002 08:08:13 +0000 (08:08 +0000)]
Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 08:00:59 +0000 (08:00 +0000)]
*** empty log message ***

21 years agoMerge in changes from libc's misc/error.c, in preparation
Jim Meyering [Fri, 6 Dec 2002 08:00:45 +0000 (08:00 +0000)]
Merge in changes from libc's misc/error.c, in preparation
for the merge of gnulib's changes back into libc.

(_): Define only if not already defined.
Move definition to follow all #include directives.
Include unlocked-io.h only if !_LIBC.
[_LIBC]: Include <libio/libioP.h>.
[USE_IN_LIBIO]: Include <libio/iolibio.h>
(fflush): Tweak definition to use INTUSE.
(putc): Define.

21 years agoMerge some alloca.c changes from Emacs.
Paul Eggert [Thu, 5 Dec 2002 20:46:37 +0000 (20:46 +0000)]
Merge some alloca.c changes from Emacs.

21 years ago[defined emacs]: Include "lisp.h".
Paul Eggert [Thu, 5 Dec 2002 20:46:03 +0000 (20:46 +0000)]
[defined emacs]: Include "lisp.h".
(xalloc_die) [defined emacs]: New macro.
(free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE.
[! defined emacs]: Include <xalloc.h>.
(POINTER_TYPE) [!defined POINTER_TYPE]: New macro.
(pointer): Typedef to POINTER_TYPE *.
(malloc): Remove decl; we now always use xmalloc.
(alloca): Use old-style definition, since Emacs needs this.
Check for arithmetic overflow when computing combined size.

21 years agoDo not generate unlocked-io.h automatically, since it's easier to
Paul Eggert [Wed, 4 Dec 2002 20:53:19 +0000 (20:53 +0000)]
Do not generate unlocked-io.h automatically, since it's easier to
maintain it by hand.

21 years agoAdd copyright notice.
Paul Eggert [Wed, 4 Dec 2002 20:52:56 +0000 (20:52 +0000)]
Add copyright notice.
(libfetish_a_SOURCES): Add unlocked-io.h.
(BUILT_SOURCES, all-local): Remove unlocked-io.h.
(DISTCLEANFILES, io_functions): Remove macros.
(EXTRA_DIST): Remove gen_uio.
(unlocked-io.h): Remove rule.

21 years agounlocked-io.h is now maintained by hand.
Paul Eggert [Wed, 4 Dec 2002 20:52:00 +0000 (20:52 +0000)]
unlocked-io.h is now maintained by hand.

21 years agoNew file, from GNU diffutils, but with proper copyright notice and
Paul Eggert [Wed, 4 Dec 2002 20:51:07 +0000 (20:51 +0000)]
New file, from GNU diffutils, but with proper copyright notice and
attribution.

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 10:12:32 +0000 (10:12 +0000)]
*** empty log message ***

21 years agoReflect the fact that stat.c and lstat.c are no longer generated.
Jim Meyering [Wed, 4 Dec 2002 10:12:13 +0000 (10:12 +0000)]
Reflect the fact that stat.c and lstat.c are no longer generated.

(BUILT_SOURCES): Remove stat.c and lstat.c.
(DISTCLEANFILES): Likewise.
(EXTRA_DIST): Likewise.
(all_local): Don't depend on stat.c or lstat.c.
(stat.c, lstat.c): Remove rules.
(EXTRA_DIST): Remove xstat.in.

21 years agoNew file. Simply #define LSTAT and include stat.c.
Jim Meyering [Wed, 4 Dec 2002 10:11:39 +0000 (10:11 +0000)]
New file. Simply #define LSTAT and include stat.c.

21 years ago* stat.c: New file. Contents mostly from xstat.in.
Jim Meyering [Wed, 4 Dec 2002 10:11:15 +0000 (10:11 +0000)]
* stat.c: New file.  Contents mostly from xstat.in.
Rework so that it may serve to define rpl_lstat, too.

21 years ago* xstat.in: Remove file. Contents moved into stat.c.
Jim Meyering [Wed, 4 Dec 2002 10:08:47 +0000 (10:08 +0000)]
* xstat.in: Remove file.  Contents moved into stat.c.

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 08:03:39 +0000 (08:03 +0000)]
*** empty log message ***

21 years agoSimply #define SAFE_WRITE and include safe-read.c.
Jim Meyering [Wed, 4 Dec 2002 08:03:16 +0000 (08:03 +0000)]
Simply #define SAFE_WRITE and include safe-read.c.

21 years agoRework so that it may serve to define safe_write, too.
Jim Meyering [Wed, 4 Dec 2002 08:02:56 +0000 (08:02 +0000)]
Rework so that it may serve to define safe_write, too.

21 years ago(safe_write): Change comment to mention SAFE_WRITE_ERROR.
Jim Meyering [Tue, 3 Dec 2002 10:59:31 +0000 (10:59 +0000)]
(safe_write): Change comment to mention SAFE_WRITE_ERROR.

21 years ago(safe_read): Change comment to mention SAFE_READ_ERROR.
Jim Meyering [Tue, 3 Dec 2002 10:59:09 +0000 (10:59 +0000)]
(safe_read): Change comment to mention SAFE_READ_ERROR.

21 years ago.
Jim Meyering [Tue, 3 Dec 2002 10:57:11 +0000 (10:57 +0000)]
.

21 years ago safe-read.c, safe-write.c: Change variable names and comments, but
Jim Meyering [Tue, 3 Dec 2002 10:55:51 +0000 (10:55 +0000)]
safe-read.c, safe-write.c: Change variable names and comments, but
not semantics, to minimize the differences between these two files.

21 years ago * safe-read.c (IS_EINTR): Define.
Jim Meyering [Tue, 3 Dec 2002 09:48:30 +0000 (09:48 +0000)]
* safe-read.c (IS_EINTR): Define.
(safe_read): Use IS_EINTR in place of in-function cpp directives.

21 years ago(IS_EINTR): Define.
Jim Meyering [Tue, 3 Dec 2002 09:48:14 +0000 (09:48 +0000)]
(IS_EINTR): Define.
(safe_read): Use IS_EINTR in place of in-function cpp directives.

21 years agoSynchronize safe-write with safe-read.
Bruno Haible [Mon, 2 Dec 2002 18:53:53 +0000 (18:53 +0000)]
Synchronize safe-write with safe-read.

21 years ago * safe-read.c (EINTR): Define.
Jim Meyering [Mon, 2 Dec 2002 17:32:05 +0000 (17:32 +0000)]
* safe-read.c (EINTR): Define.
(safe_read): Rewrite to iterate IFF the read fails with EINTR.

21 years ago(EINTR): Define.
Jim Meyering [Mon, 2 Dec 2002 17:31:49 +0000 (17:31 +0000)]
(EINTR): Define.
(safe_read): Rewrite to iterate IFF the read fails with EINTR.

21 years ago * safe-read.h (SAFE_READ_ERROR): Define.
Jim Meyering [Mon, 2 Dec 2002 06:40:15 +0000 (06:40 +0000)]
* safe-read.h (SAFE_READ_ERROR): Define.

21 years ago(SAFE_READ_ERROR): Define.
Jim Meyering [Mon, 2 Dec 2002 06:40:00 +0000 (06:40 +0000)]
(SAFE_READ_ERROR): Define.

21 years ago * safe-read.c: (safe_read): Also exit the loop when read returns zero.
Jim Meyering [Sun, 1 Dec 2002 21:40:23 +0000 (21:40 +0000)]
* safe-read.c: (safe_read): Also exit the loop when read returns zero.
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.

21 years ago(safe_read): Also exit the loop when read returns zero.
Jim Meyering [Sun, 1 Dec 2002 21:40:08 +0000 (21:40 +0000)]
(safe_read): Also exit the loop when read returns zero.
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.

21 years agoprep update
Karl Berry [Sun, 1 Dec 2002 14:26:18 +0000 (14:26 +0000)]
prep update

21 years ago* hash.c (hash_lookup, hash_get_first, hash_get_next, hash_find_entry,
Paul Eggert [Thu, 28 Nov 2002 00:37:08 +0000 (00:37 +0000)]
* hash.c (hash_lookup, hash_get_first, hash_get_next, hash_find_entry,
hash_rehash): Replace `if (limit <= value) abort ();' with
`if (! (value < limit)) abort ();', for readability.

21 years ago(hash_lookup, hash_get_first, hash_get_next, hash_find_entry,
Paul Eggert [Thu, 28 Nov 2002 00:34:24 +0000 (00:34 +0000)]
(hash_lookup, hash_get_first, hash_get_next, hash_find_entry,
hash_rehash): Replace `if (limit <= value) abort ();' with
`if (! (value < limit)) abort ();', for readability.

21 years agocopy strdup.c from libc again.
Karl Berry [Tue, 26 Nov 2002 22:58:57 +0000 (22:58 +0000)]
copy strdup.c from libc again.

21 years agoinstall-sh from automake, automake from cvs instead of installed
Karl Berry [Mon, 25 Nov 2002 22:24:53 +0000 (22:24 +0000)]
install-sh from automake, automake from cvs instead of installed

21 years agoupdate from automake for variable quoting, $0 in
Karl Berry [Mon, 25 Nov 2002 22:24:18 +0000 (22:24 +0000)]
update from automake for variable quoting, $0 in
error msgs, etc.

21 years agoupdate from texinfo
Karl Berry [Mon, 25 Nov 2002 19:09:44 +0000 (19:09 +0000)]
update from texinfo

21 years ago.
Karl Berry [Mon, 25 Nov 2002 16:32:04 +0000 (16:32 +0000)]
.

21 years ago($LIBCSRC/time/mktime.c lib gpl): new entry.
Karl Berry [Mon, 25 Nov 2002 16:31:49 +0000 (16:31 +0000)]
($LIBCSRC/time/mktime.c lib gpl): new entry.

21 years agoReally sync with libc, not with my locally-modified copy.
Jim Meyering [Mon, 25 Nov 2002 15:31:05 +0000 (15:31 +0000)]
Really sync with libc, not with my locally-modified copy.
Thanks, Karl!

21 years agoinitial
Karl Berry [Mon, 25 Nov 2002 14:27:12 +0000 (14:27 +0000)]
initial

21 years ago($LIBCSRC/sysdeps/generic/strtoll.c lib gpl): new entry.
Karl Berry [Mon, 25 Nov 2002 14:24:39 +0000 (14:24 +0000)]
($LIBCSRC/sysdeps/generic/strtoll.c lib gpl): new entry.

21 years ago.
Karl Berry [Mon, 25 Nov 2002 14:23:57 +0000 (14:23 +0000)]
.

21 years agocopy from libc, meaning we now #include <strtol.c>
Karl Berry [Mon, 25 Nov 2002 14:23:38 +0000 (14:23 +0000)]
copy from libc, meaning we now #include <strtol.c>
instead of "strtol.c".

21 years ago.
Karl Berry [Mon, 25 Nov 2002 14:13:38 +0000 (14:13 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 25 Nov 2002 13:22:47 +0000 (13:22 +0000)]
*** empty log message ***

21 years agoSync from libc, now that it has the latest fix.
Jim Meyering [Mon, 25 Nov 2002 13:22:20 +0000 (13:22 +0000)]
Sync from libc, now that it has the latest fix.

21 years agoremove trailing spaces
Jim Meyering [Mon, 25 Nov 2002 13:17:17 +0000 (13:17 +0000)]
remove trailing spaces

21 years agorestore additional quoting on variables
Karl Berry [Mon, 25 Nov 2002 00:21:32 +0000 (00:21 +0000)]
restore additional quoting on variables

21 years agoaccount for gnulib changing libc files to gpl
Karl Berry [Mon, 25 Nov 2002 00:20:03 +0000 (00:20 +0000)]
account for gnulib changing libc files to gpl

21 years agosome libc files now not copyable, some newly copyable
Karl Berry [Mon, 25 Nov 2002 00:19:45 +0000 (00:19 +0000)]
some libc files now not copyable, some newly copyable

21 years agonew automake release/directory
Karl Berry [Mon, 25 Nov 2002 00:18:50 +0000 (00:18 +0000)]
new automake release/directory

21 years agochange license to gpl.
Karl Berry [Mon, 25 Nov 2002 00:17:33 +0000 (00:17 +0000)]
change license to gpl.

21 years ago.
Jim Meyering [Sun, 24 Nov 2002 10:40:09 +0000 (10:40 +0000)]
.

21 years agoMerge in changes from libc.
Jim Meyering [Sun, 24 Nov 2002 10:39:54 +0000 (10:39 +0000)]
Merge in changes from libc.

21 years ago.
Jim Meyering [Sun, 24 Nov 2002 10:06:26 +0000 (10:06 +0000)]
.

21 years agoAvoid a link-time failure on some Linux systems.
Jim Meyering [Sun, 24 Nov 2002 10:06:16 +0000 (10:06 +0000)]
Avoid a link-time failure on some Linux systems.

(STATIC): Define to be empty (_LIBC) or `static' (otherwise).
(__mon_yday): Declare with the STATIC attribute.
(__mktime_internal): Likewise.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 16:17:51 +0000 (16:17 +0000)]
.

21 years ago(str2signum, sig2str): Avoid a warning from gcc:
Jim Meyering [Sat, 23 Nov 2002 16:17:34 +0000 (16:17 +0000)]
(str2signum, sig2str): Avoid a warning from gcc:
Use `unsigned', not `int', as type of index.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 15:47:51 +0000 (15:47 +0000)]
.

21 years ago[@BEGIN_LSTAT_ONLY@]: Include <string.h>.
Jim Meyering [Sat, 23 Nov 2002 15:47:14 +0000 (15:47 +0000)]
[@BEGIN_LSTAT_ONLY@]: Include <string.h>.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 15:09:07 +0000 (15:09 +0000)]
.

21 years agoRemove unneeded parentheses around operands of `defined'.
Jim Meyering [Sat, 23 Nov 2002 15:08:35 +0000 (15:08 +0000)]
Remove unneeded parentheses around operands of `defined'.

21 years agoAdd copyright date of 2002.
Jim Meyering [Sat, 23 Nov 2002 15:07:14 +0000 (15:07 +0000)]
Add copyright date of 2002.

21 years agoAdd copyright notice.
Paul Eggert [Sat, 23 Nov 2002 07:23:50 +0000 (07:23 +0000)]
Add copyright notice.

21 years agohash.c: Avoid use of <assert.h>.
Paul Eggert [Sat, 23 Nov 2002 07:03:07 +0000 (07:03 +0000)]
hash.c: Avoid use of <assert.h>.

21 years agoAvoid use of <assert.h>, as the GNU Coding Standards hint that one
Paul Eggert [Sat, 23 Nov 2002 07:02:40 +0000 (07:02 +0000)]
Avoid use of <assert.h>, as the GNU Coding Standards hint that one
should use `if (! x) abort ();' rather than `assert (x);', and anyway
it's one less thing to worry about configuring.  (hash_lookup,
hash_get_first, hash_get_next, hash_find_entry, hash_rehash,
hash_insert): Use abort rather than assert.

21 years agoquotearg.c, quotearg.c changes to assume C89 and fix a few bugs
Paul Eggert [Sat, 23 Nov 2002 06:46:25 +0000 (06:46 +0000)]
quotearg.c, quotearg.c changes to assume C89 and fix a few bugs
(merging changes from Bison, tar).

21 years agoInclude quotearg.h immediately after config.h.
Paul Eggert [Sat, 23 Nov 2002 06:45:49 +0000 (06:45 +0000)]
Include quotearg.h immediately after config.h.
No need to include stddef.h or sys/types.h any more.
Surround local include files with "", not "<>".
Assume HAVE_LIMITS_H unconditionally, as we assume C89.
Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
(ISPRINT): Remove; no longer needed now that we assume C89.

(clone_quoting_options, quotearg_buffer, quotearg_n_options):
Preserve errno.

(quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
quotearg_char): Use SIZE_MAX rather than
(size_t) -1 when we are talking about "infinity".

(quotearg_buffer_restyled): Fix bug when quoting trigraphs.

21 years agoAllow multiple inclusion by surrounding with
Paul Eggert [Sat, 23 Nov 2002 06:45:22 +0000 (06:45 +0000)]
Allow multiple inclusion by surrounding with
"#ifndef QUOTEARG_H_".  Include <stddef.h>, for size_t,
so that we can be included first.
(PARAMS): Remove; we now assume C89 or later.  All uses removed.

21 years agoOrthogonal approach to read()/write() that handles EINTR and counts > 2^31
Bruno Haible [Fri, 22 Nov 2002 16:25:53 +0000 (16:25 +0000)]
Orthogonal approach to read()/write() that handles EINTR and counts > 2^31
correctly.

21 years agoRemove case insensitive option matching.
Bruno Haible [Thu, 21 Nov 2002 20:15:39 +0000 (20:15 +0000)]
Remove case insensitive option matching.

21 years agoComment tweaks.
Bruno Haible [Thu, 21 Nov 2002 19:16:29 +0000 (19:16 +0000)]
Comment tweaks.

21 years agoComment tweak.
Bruno Haible [Thu, 21 Nov 2002 15:02:25 +0000 (15:02 +0000)]
Comment tweak.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:33:18 +0000 (13:33 +0000)]
*** empty log message ***

21 years ago(strdup): Tweak comment and initial #if/#include.
Jim Meyering [Thu, 21 Nov 2002 13:33:10 +0000 (13:33 +0000)]
(strdup): Tweak comment and initial #if/#include.

21 years agoRemove strdup.c.
Jim Meyering [Thu, 21 Nov 2002 13:32:12 +0000 (13:32 +0000)]
Remove strdup.c.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:23:02 +0000 (13:23 +0000)]
*** empty log message ***

21 years ago2002-09-25 Paul Eggert <eggert@twinsun.com>
Jim Meyering [Thu, 21 Nov 2002 13:22:51 +0000 (13:22 +0000)]
2002-09-25  Paul Eggert  <eggert@twinsun.com>

[! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
(UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro.
(PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than
int.  Work more efficiently if X is the same width as uintmax_t.
Do not compare X to -1, to avoid bogus compiler warning.
(get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast.
Don't assume that f_frsize and f_bsize are the same type.

21 years agoupdate copyright date
Jim Meyering [Thu, 21 Nov 2002 09:51:39 +0000 (09:51 +0000)]
update copyright date

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:50:58 +0000 (09:50 +0000)]
*** empty log message ***

21 years ago2002-07-13 Bruno Haible <bruno@clisp.org>
Jim Meyering [Thu, 21 Nov 2002 09:50:43 +0000 (09:50 +0000)]
2002-07-13  Bruno Haible  <bruno@clisp.org>

#undef MNT_IGNORE before defining it, to avoid warning
on FreeBSD.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:46:15 +0000 (09:46 +0000)]
*** empty log message ***

21 years ago(make_path): Minor reformatting.
Jim Meyering [Thu, 21 Nov 2002 09:46:03 +0000 (09:46 +0000)]
(make_path): Minor reformatting.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:44:39 +0000 (09:44 +0000)]
*** empty log message ***

21 years ago(make_path): Restore umask *before* creating the final component.
Jim Meyering [Thu, 21 Nov 2002 09:44:27 +0000 (09:44 +0000)]
(make_path): Restore umask *before* creating the final component.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:43:55 +0000 (08:43 +0000)]
*** empty log message ***

21 years agoAdjust to work with new autoconf macros, AC_FUNC_MALLOC
Jim Meyering [Thu, 21 Nov 2002 08:43:42 +0000 (08:43 +0000)]
Adjust to work with new autoconf macros, AC_FUNC_MALLOC
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:35:10 +0000 (08:35 +0000)]
*** empty log message ***

21 years ago(ME_DUMMY): Don't count entries of type `auto' as dummy
Jim Meyering [Thu, 21 Nov 2002 08:32:22 +0000 (08:32 +0000)]
(ME_DUMMY): Don't count entries of type `auto' as dummy
ones.  At least on GNU/Linux systems, `auto' means something else.
From Michael Stone.

21 years agoMerge argmatch cleanups from Bison. Assume C89.
Paul Eggert [Thu, 21 Nov 2002 07:20:15 +0000 (07:20 +0000)]
Merge argmatch cleanups from Bison.  Assume C89.

21 years agoDo not include <config.h> or <sys/types.h>.
Paul Eggert [Thu, 21 Nov 2002 07:19:54 +0000 (07:19 +0000)]
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.

21 years agoInclude config.h here, not in argmatch.h.
Paul Eggert [Thu, 21 Nov 2002 07:19:33 +0000 (07:19 +0000)]
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.

21 years agoStandard specification idiom. Make mbswidth.h self contained.
Bruno Haible [Tue, 19 Nov 2002 13:58:18 +0000 (13:58 +0000)]
Standard specification idiom. Make mbswidth.h self contained.

21 years agoMove to ANSI C.
Bruno Haible [Tue, 19 Nov 2002 13:48:57 +0000 (13:48 +0000)]
Move to ANSI C.