update utimecmp to use new stat-time module

2005-09-16 Thread Paul Eggert
I installed this as well: it's needed by coreutils but not tar. 2005-09-16 Paul Eggert [EMAIL PROTECTED] * lib/utimecmp.c: Include stat-time.h. (SYSCALL_RESOLUTION): Depend on whether various struct stat members exist, not on the obsolescent ST_MTIM_NSEC.

fprintftime: a new interface to strftime/nstrftime

2005-09-16 Thread Jim Meyering
I've massaged coreutils' strftime.c so that it can now also define a function called fprintftime. /* A cross between fprintf and nstrftime, that prints directly to the output stream, without the need for the potentially large buffer that nstrftime would require. Output to stream FP the

Re: new module stat-time, to ease access to sub-second file time stamps

2005-09-16 Thread Eric Blake
Paul Eggert eggert at CS.UCLA.EDU writes: +++ m4/stat-time.m4 2005-09-15 22:39:57.0 -0700 +dnl From Paul Eggert. + +# st_atim.tv_nsec - Linux, Solaris +# st_atimespec.tv_nsec - FreeBSD, if ! defined _POSIX_SOURCE +# st_atimensec - FreeBSD, if defined _POSIX_SOURCE +#

Re: config.h inclusion

2005-09-16 Thread Ralf Wildenhues
Hi Paul, Noah, * Paul Eggert wrote on Thu, Sep 15, 2005 at 04:56:04PM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: I learned about this issue while actually trying to make use of a module with one of the unguarded files; I did not use AC_CONFIG_HEADERS. Ok, sorry, I didn't know

gnulib mktime.c now merged into glibc

2005-09-16 Thread Paul Eggert
So I installed this: 2005-09-16 Paul Eggert [EMAIL PROTECTED] * config/srclist.txt: Remove glibc bug 1033 and uncomment mktime.c. --- config/srclist.txt 8 Sep 2005 20:18:48 - 1.104 +++ config/srclist.txt 16 Sep 2005 21:37:31 - 1.105 @@ -1,4 +1,4 @@ -# $Id: