lib/rpmatch.c


Log

Author Commit Date CI Message
Paul Eggert 3c634821 2003-09-10T06:43:26 Remove K&R cruft.
Paul Eggert 552a680f 2003-05-29T07:21:59 in lib: * addext.c, backupfile.c, fsusage.c, human.c, pathmax.h, rpmatch.c, userspec.c, xreadlink.c, xstrtol.c: Include <limits.h> without checking for HAVE_LIMITS_H. * backupfile.c, fsusage.c, hash.c, human.c, safe-read.c, userspec.c, xstrtol.c (CHAR_BIT) : Don't define, since <limits.h> is guaranteed to do that. * fatal.c: Include <stdarg.h> without checking for __STDC__. * exclude.c: Include <stdbool.h> unconditionally. * tempname.c: Include <stddef.h> unconditionally. * hash.c: Include <limits.h>, since we no longer define CHAR_BIT. * modechange.c, rpmatch.c (NULL): Don't define, since <stddef.h> does that. * quote.c: Dont include <stddef.h> or <sys/types.h>; not needed. * safe-read.c (INT_MAX): Don't define, since <limits.h> does that. * safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed. * xstrtol.c: Likewise. * safe-read.c: Remove TYPE_SIGNED; no longer needed. * savedir.c: Include <stddef.h> instead of defining NULL. in m4: * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h. * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise. * human.m4 (gl_HUMAN): Likewise. * pathmax.m4 (gl_PATHMAX): Likewise. * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise. * userspec.m4 (gl_USERSPEC): Likewise. * xreadlink.m4 (gl_XREADLINK): Likewise. * m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise. * quote.m4 (gl_QUOTE): Don't check for stddef.h.
Bruno Haible f9fa25dc 2002-11-05T21:45:29 Include gettext.h instead of <libintl.h> with #ifdefs.
Jim Meyering c2f78d65 2000-04-28T16:49:38 [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid redefinition warning on some systems (HPUX). Otherwise, regex.h is included first, then limits.h is included by locale.h by libintl.h. From John David Anglin.
Jim Meyering 0eb34fb5 1998-12-19T17:18:23 split long line
Jim Meyering f8e2674a 1998-12-07T05:14:07 (rpmatch) [!ENABLE_NLS]: Hard-code tests to use `^[yY]' and `^[nN]'. From Karl Heuer.
Jim Meyering cf42d3e5 1998-12-07T03:12:10 ansideclify
Jim Meyering ee369d4b 1998-07-04T01:44:01 remove ifdef around inclusion of regex.h altogether!!
Jim Meyering 7509c70d 1998-07-04T00:15:37 Change guard on <regex.h> inclusion to use new symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.
Jim Meyering 729a4169 1997-02-04T03:26:31 libitize
Jim Meyering 484ac230 1996-10-09T11:55:22 [!WITH_REGEX]: Include rx.h. From Andreas Schwab.
Jim Meyering a2232307 1996-09-05T02:48:41 Make sure NULL is defined by including stddef.h (if STDC_HEADERS || _LIBC) or simply defining it (otherwise). Include sys/types.h for definition of size_t needed by regex.h.
Jim Meyering 67d7048b 1996-09-03T13:14:57 this conforms to POSIX.2. From Paul Eggert <eggert@twinsun.com>.
Jim Meyering f646bc46 1996-09-02T16:18:48 (ENABLE_NLS): Include libintl.h and define _ to gettext.
Jim Meyering bc57be3f 1996-07-22T01:01:10 (rpmatch): Add back [[:alpha:]]. Drepper says it's the standard.
Jim Meyering f9aa6e11 1996-07-21T22:46:39 [STDC_HEADERS]: Guard inclusion of stdlib.h. (_) [!_]: Define it. (try): Add RESPONSE parameter. (rpmatch): Update caller. Change the regular expressions to be ^[yY] and ^[nN].
Jim Meyering 1af5084b 1996-07-21T17:16:13 .