1. 11 Oct, 2005 3 commits
  2. 06 Oct, 2005 2 commits
  3. 05 Oct, 2005 8 commits
  4. 04 Oct, 2005 1 commit
  5. 03 Oct, 2005 1 commit
  6. 01 Oct, 2005 2 commits
  7. 29 Sep, 2005 1 commit
  8. 27 Sep, 2005 2 commits
  9. 25 Sep, 2005 2 commits
    • Paul Eggert's avatar
      * utimens.c (ENOSYS): Define if not already defined. · 52bcc4fc
      Paul Eggert authored
      (futimens): Support having a null PATH if the file descriptor
      is nonnegative.
    • Paul Eggert's avatar
      * regex_internal.h (__GNUC_PREREQ, always_inline, inline, pure): · b7f90374
      Paul Eggert authored
      (__attribute): Define to empty unless GCC 3.1 or later.
      This works around a core dump on OpenBSD 3.4, which has GCC
      2.95.3, which dumps core when given __attribute__(()).  It also
      simplifies other tests, since we really don't want to bother with
      worrying about which ancient version of GCC supported what.
      Original problem reported by Yoann Vandoorselaere, with part of
      the fix suggested by Derek Price.
  10. 24 Sep, 2005 2 commits
  11. 23 Sep, 2005 2 commits
    • Jim Meyering's avatar
      *** empty log message *** · 03682d7f
      Jim Meyering authored
    • Paul Eggert's avatar
      Sync from coreutils. · 7c3f8da8
      Paul Eggert authored
      * .cppi-disable: Add regcomp.c, regex_internal.c, regex_internal.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
      * 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.
  12. 22 Sep, 2005 1 commit
  13. 21 Sep, 2005 1 commit
  14. 20 Sep, 2005 1 commit
  15. 19 Sep, 2005 1 commit
    • Paul Eggert's avatar
      Use a consistent style for including <config.h>. · 222b0486
      Paul Eggert authored
      * __fpending.c, acl.c, argmatch.c,
      argp-help.c, argp-parse.c,
      argp-pvh.c, backupfile.c, basename.c, c-stack.c,
      calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c,
      creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c,
      dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c,
      fd-safer.c, file-type.c, fileblocks.c, filemode.c,
      filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c,
      fsusage.c, ftruncate.c, full-write.c, fwriteerror.c,
      getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c,
      getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c,
      hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c,
      inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c,
      memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c,
      modechange.c, mountlist.c, open-safer.c, physmem.c,
      pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c,
      progreloc.c, putenv.c, quote.c, quotearg.c, readline.c,
      readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c,
      safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c,
      strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c,
      strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c,
      strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c,
      userspec.c, utimecmp.c, version-etc-fsf.c,
      version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c,
      xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c,
      xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
      Standardize inclusion of config.h.
      * __fpending.h, dirfd.h, getdate.h, human.h,
      inttostr.h:  Removed inclusion of config.h from header files.
      * inttostr.c:  Adjusted in-tree users.
      * timespec.h: Remove superfluous warning to include config.h.
      * atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c,
      gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c,
      nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c,
      unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H.
  16. 16 Sep, 2005 3 commits
    • Paul Eggert's avatar
      * utimecmp.c: Include stat-time.h. · 58dfecfe
      Paul Eggert authored
      (SYSCALL_RESOLUTION): Depend on whether various struct stat
      members exist, not on the obsolescent ST_MTIM_NSEC.
      (utimecmp): Use the new stat-time functions rater than TIMESPEC_NS.
    • Paul Eggert's avatar
      * MODULES.html.sh (File system functions): Add stat-time. · 0fecb046
      Paul Eggert authored
      * lib/stat-time.h: New file.
      * lib/timespec.h (ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP):
      (MTIME_CMP, TIMESPEC_NS): Remove.  Now done by stat-time.h,
      in a different way.
      (timespec_cmp): New function.
      * m4/st_mtim.m4: Remove.  Superseded by...
      * m4/stat-time.m4: New file.
      * m4/timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
      Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
      * modules/stat-time: New file.
      * modules/timespec (Files): Remove m4/st_mtim.m4; this
      is now done in a different way, by the stat-time module.
    • Derek R. Price's avatar
      * regcomp.c, regexec.c, regex_internal.c: Back out previous · 1e3866b6
      Derek R. Price authored
      changes, consolidating in...
      * regex_internal.h: ...this file.
  17. 15 Sep, 2005 2 commits
  18. 13 Sep, 2005 5 commits
    • Derek R. Price's avatar
      * canon-host.c (canon_host_r): Set *cherror on memory allocation · 639a9c73
      Derek R. Price authored
      Reported by Jim Meyering  <jim@meyering.net>.
    • Jim Meyering's avatar
      *** empty log message *** · e44c0fd2
      Jim Meyering authored
    • Simon Josefsson's avatar
      2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) · 3a70427e
      Simon Josefsson authored
      	* lib/base64.c: Typo.
      	(base64_encode): Put b64str in initialized data section.
    • Derek R. Price's avatar
      * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make · 244d36cf
      Derek R. Price authored
      * modules/getaddrinfo: Add link to opengroup spec.  Depend on strdup.
      Make canon-host require getaddrinfo.
      * m4/canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
      AC_LIBSOURCE canon-host.h.  Call...
      (gl_PREREQ_CANON_HOST): ...this new function, which requires
      * m4/getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when
      Return usable errors from canon-host.
      * lib/canon-host.h: New file.
      * lib/canon-host.c (canon_host): Wrap...
      (canon_host_r): ...this new function, which now relies exclusively on
      (ch_strerror): New function.
      (last_cherror): New global.
      * lib/getaddrinfo.c: Move include of getaddrinfo.h first to test
      (getaddrinfo): Add AI_CANONNAME functionality.  Don't do arithmetic
      on void *.
      (freeaddrinfo): Free ai->ai_canonname when set.
    • Derek R. Price's avatar
      * modules/glob (Files): Add glob-libc.h. · 4ef30f6c
      Derek R. Price authored
      * 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
      (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.