lib/glob_.h


Log

Author Commit Date CI Message
Bruno Haible 1ce45f05 2007-05-01T15:48:24 Make the generated glob.h self-contained.
Bruno Haible 71b6b374 2007-03-30T23:56:06 Use _GL_ as double-inclusion guard macro prefix.
Bruno Haible e3078b00 2007-03-25T19:36:17 Make sure 'struct stat' is defined before glob-libc.h uses it. Fixes a warning on AIX 5.1.
Bruno Haible f3b9015e 2007-03-03T12:35:26 Avoid defining __restrict in a header file. This doesn't work e.g. on MacOS X.
Paul Eggert efc5123c 2006-07-11T06:02:51 * backupfile.c, dirfd.h, fts.c, getcwd.c, glob.c, glob_.h: Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN macros into the GNU _D_EXACT_NAMLEN. * savedir.c: Likewise. (savedirstream): Use _D_EXACT_NAMLEN in preference to strlen. * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4: * savedir.m4: Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN macros into the GNU _D_EXACT_NAMLEN.
Paul Eggert 83213ada 2006-01-10T21:49:07 * argp.h (__const): Remove macro. Use const instead. * argp-fmtstream.h (__const): Likewise. * glob_.h (__const): Remove macro. * glob-libc.h: Use const instead of __const.
Derek R. Price 4ef30f6c 2005-09-13T03:47:44 * modules/glob (Files): Add glob-libc.h. * lib/glob-libc.h: Renamed from glob_.h. The new version is taken from libc's glob.h, except with '#ifdef __GLOB_GNULIB' protecting things that should be done only in gnulib contexts. * lib/glob_.h: New file, containing only the glob things needed for gnulib. (GLOB_PREFIX): Remove. All uses changed to look for __GLOB_GNULIB. (__GLOB_CONCAT, __GLOB_XCONCAT, __GLOB_ID): Remove; no longer needed. (glob, globfree, glob_pattern_p): Now defined simply in terms of rpl_glob, rpl_globfree, rpl_glob_pattern_p. (__GLOB_GNULIB): New macro, to keep the glob.h changes clearer and to respect the namespace rules better. * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c, glob_.h, glob-libc.h. (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
Derek R. Price 36f86806 2005-06-07T14:58:46 Sync from CVS. * glob_.h: Indent nested #ifdef.
Derek R. Price 994784de 2005-05-31T21:01:15 Sync from cvs. * glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
Derek R. Price 2d4c3914 2005-05-29T16:56:02 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section. * modules/glob: New file. * modules/getlogin_r: Add link to POSIX spec in description. * config/srclist.txt (glob_.h, glob.c): Add these files. * lib/glob_.h, lib/glob.c: New files. * gm4/lob.m4: New file.