lib/argmatch.h


Log

Author Commit Date CI Message
Paul Eggert 7c3f8da8 2005-09-23T04:15:13 Sync from coreutils. * .cppi-disable: Add regcomp.c, regex_internal.c, regex_internal.h, stat-time.h. * argmatch.h: Include verify.h (ARGMATCH_VERIFY): Use verify rather than rolling our own. (ARGMATCH_ASSERT): Remove; unused. * canonicalize.c: Assume STDC_HEADERS. * exclude.c: Include "strcase.h". * regex_internal.h [!defined _LIBC]: Likewise. * getusershell.c: Include stdio--.h rather than stdio.h and stdio-safer.h. (getusershell): Call fopen, not fopen_safer. * save-cwd.c: Include fcntl--.h rather than fcntl.h. Do not include unistd-safer.h. (save_cwd): Don't call fd_safer; no longer needed now that we include fcntl--.h. * modules/argmatch (Depends-on): Add verify. * modules/getloadavg (Depends-on): Depend on fcntl-safer, not unistd-safer. * modules/save-cwd (Depends-on): Likewise. * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4: * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4: * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4: * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4: * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4: * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4: * userspec.m4, xgetcwd.m4, xreadlink.m4: Don't bother checking for string.h, stdlib.h, unistd.h. * fts.m4 (gl_FUNC_FTS_CORE): Don't require AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat module's job. * jm-macros.m4 (gl_MACROS): Likewise. * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT. * backupfile.c: Use ARGMATCH_VERIFY, just in case. * posixtm.c (posixtime) [lint]: Initialize *all* of tm0, not just the .tm_year member, since otherwise gcc-4.0 would now warn about tm_zone, tm_gmtoff, tm_isdst, tm_yday, tm_wday. * quotearg.c (quotearg_n_options): Change code to be suboptimal, in order to avoid an unsuppressible warning from gcc on 64-bit systems. * lstat.m4 (gl_FUNC_LSTAT): Use AC_LIBSOURCES to require lstat.c and lstat.h. Remove obsolete comment. * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ. * xstrtod.m4: Likewise.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Paul Eggert a3dc3313 2004-08-06T23:04:38 Merge from coreutils.
Paul Eggert e8939084 2004-01-24T07:22:33 Exit-status fixes from coreutils.
Bruno Haible c44a7e41 2002-11-21T20:15:39 Remove case insensitive option matching.
Bruno Haible c778cfa6 2002-11-21T15:02:25 Comment tweak.
Paul Eggert c2353944 2002-11-21T07:19:54 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.
Jim Meyering f3d3775d 2001-11-03T21:46:29 (ARGMATCH_TO_ARGUMENT): Remove casts of first two args in argmatch_to_argument call.
Jim Meyering 89f2b489 2000-08-07T15:48:18 back out Copyright date changes for files with no changes year
Jim Meyering d349992d 2000-07-09T07:22:43 update copyright date
Jim Meyering 5be2c8c5 1999-01-25T14:52:13 (ARRAY_CARDINALITY): Define. (ARGMATCH_ASSERT): New macro.
Jim Meyering d95dbb37 1999-01-25T13:59:34 tweak comment
Jim Meyering 532f4b4a 1999-01-25T13:58:34 tweak comment
Jim Meyering 912e356b 1999-01-25T13:54:30 tweak comment
Jim Meyering 0bee47ab 1999-01-16T15:21:52 s/argmatch_exit_failure/argmatch_die/
Jim Meyering aa883085 1999-01-16T15:12:04 (XARGMATCH): Define to return a value once again. (XARGCASEMATCH): Likewise.
Jim Meyering cd4e6877 1999-01-02T18:33:08 (XARGMATCH): Don't return a value; instead, modify a parameter. Add a `Die_stmt' parameter. Add parentheses.
Jim Meyering 992f61a2 1999-01-01T17:34:18 remove leading _ from _ARGMATCH_H_
Jim Meyering 95b0b08d 1998-12-31T18:12:40 fix typo
Jim Meyering 2e9cd2d4 1998-12-31T18:10:53 white space changes
Jim Meyering ccb03e92 1998-12-31T16:19:31 remove trailing blanks
Jim Meyering bcd35974 1998-12-31T16:18:13 lots of changes from Akim Demaille.
Jim Meyering e7e1ebbb 1997-05-27T10:39:10 Change dcl of program_name so it doesn't conflict with the ubiquitous char* one.
Jim Meyering 56a7a671 1997-05-27T09:39:25 Update from FSF via patch-2.2.93.
Jim Meyering 34411e9e 1995-12-21T23:05:56 .