summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-03-04Remove workaround for nanosleep bug in Linux kernel 2.6.8 or thereabouts.Paul Eggert
2005-03-01.Jim Meyering
2005-03-01Don't include gethrxtime.h or xtime.h.Paul Eggert
(NANOSLEEP_BUG_WORKAROUND): Remove. (xnanosleep): Remove the workaround.
2005-02-28*** empty log message ***Jim Meyering
2005-02-28(xnanosleep): Work around bug in Linux-2.6.8.1'sJim Meyering
nanosleep whereby it fails without setting errno upon being resumed after being suspended.
2005-02-26Regenerate.Paul Eggert
2005-02-26* vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Correct the test forPaul Eggert
integer overflow again.
2005-02-26(VASNPRINTF) [!USE_SNPRINTF]: Correct the test forPaul Eggert
integer overflow again. Actually, neither this nor the 2005-01-23 change fixes any bug on any plausible platform; it's more of a code-clarity thing.
2005-02-26Sync from gnulib.Paul Eggert
2005-02-24strftime.c cleanup to handle outlandish years.Paul Eggert
2005-02-24Include <stdbool.h>. Use bool where appropriate, instead of int.Paul Eggert
(my_strftime): Do not mishandle years close to INT_MAX, by doing the right thing even if adding 1900 would overflow. Similarly for tm_mon + 1 and tm_yday + 1. Make %Y always equivalent to %C%y, and similarly for %G and %g. (DO_NUMBER, DO_NUMBER_SPACEPAD): Set digits to d, not a conditional. (DO_SIGNED_NUMBER): New macro. (my_strftime) [HAVE_TZNAME]: Don't dump core if tp->tm_dst > 1.
2005-02-22Regenerate.Paul Eggert
2005-02-22Fix clock_gettime library access problem on recent GNU/Linux systems.Paul Eggert
2005-02-22(libfetish_a_SOURCES): Remove xnanosleep.c,Paul Eggert
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.
2005-02-21Regenerate.Paul Eggert
2005-02-21Describe recent changes to use realtime clocks if available,Paul Eggert
when appropriate; also, gettime now returns void.
2005-02-21Include xtime.h and gethrxtime.h, not xalloc.h.Paul Eggert
(timespec_subtract): Remove. (NANOSLEEP_BUG_WORKAROUND): New constant. (xnanosleep): Use gethrxtime rather than gettime; this simplifies things considerably. Use it only on GNU/Linux hosts, since the workaround shouldn't be needed elsewhere.
2005-02-21(gettime): Return void, since it alwaysPaul Eggert
succeeds now. All uses changed.
2005-02-21(gettime) Return void, since it alwaysPaul Eggert
succeeds now. All uses changed. [HAVE_NANOTIME]: Prefer nanotime. Assume gettimeofday succeeds, as POSIX requires. Assime time () succeeds, since other code already does.
2005-02-21(get_date): gettime now returns void, not int.Paul Eggert
2005-02-21Initial revision.Paul Eggert
2005-02-20*** empty log message ***Jim Meyering
2005-02-20*** empty log message ***Jim Meyering
2005-02-20(xgethostname): Check for ENOMEM, which isJim Meyering
returned by OSX/Darwin if the specified buffer is not large enough for the hostname.
2005-02-20*** empty log message ***Jim Meyering
2005-02-20(libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c.Jim Meyering
2005-02-13.Jim Meyering
2005-02-11*** empty log message ***Jim Meyering
2005-02-11Remove names of files that are now mentioned in AC_LIBSOURCESJim Meyering
and AC_LIBOBJ uses in inttostr.m4. (libfetish_a_SOURCES): Remove imaxtostr.c, offtostr.c, and umaxtostr.c. (EXTRA_DIST): Remove inttostr.c and inttostr.h.
2005-02-09.Jim Meyering
2005-02-08*** empty log message ***Jim Meyering
2005-02-08(libfetish_a_SOURCES): Remove memcasecmp.c and memcasecmp.h.Jim Meyering
2005-02-07(vasnprintf) [!USE_SNPRINTF]: Correct the test for integer overflow.Jim Meyering
2005-02-07*** empty log message ***Jim Meyering
2005-02-07(libfetish_a_SOURCES): Remove fts.c, fts_.h, andJim Meyering
getcwd.h now that they're mentioned in AC_LIBSOURCES and AC_LIBOBJ uses in the corresponding ../m4/*.m4.
2005-02-03Regenerate.Paul Eggert
2005-02-03Define and use new file memrchr.h.Paul Eggert
2005-02-03[!defined _LIBC]: Include "memrchr.h" rather than <string.h>.Paul Eggert
Don't bother including stddef.h.
2005-02-03Include memrchr.h.Paul Eggert
2005-02-03Initial revisionPaul Eggert
2005-02-01mountlist.h, mountlist.h cleanup, and add support for subfs.Paul Eggert
2005-02-01(MOUNTLIST_H_): New macro, to protect against double inclusion.Paul Eggert
Include <sys/types.h>, for dev_t. (ME_DUMMY, ME_REMOTE): Move to mountlist.c.
2005-02-01Include mountlist.h first, to test the interface.Paul Eggert
(ME_DUMMY, ME_REMOTE): Moved here from mountlist.c. (ME_DUMMY): Count "subfs" as a dummy.
2005-01-29*** empty log message ***Jim Meyering
2005-01-29.Jim Meyering
2005-01-29* Makefile.am (libfetish_a_SOURCES): Remove many files from thisJim Meyering
list, now that automake determines their names automatically, thanks to the new AC_LIBSOURCES and AC_LIBOBJ uses in the corresponding ../m4/*.m4 files. (EXTRA_DIST): Add getdate.c here, so that we continue to distribute it.
2005-01-25*** empty log message ***Jim Meyering
2005-01-25Don't include assert.h.Jim Meyering
(path_concat): Remove assertion that would have triggered for ABASE starting with more than one slash. Reported by Andreas Schwab.
2005-01-25*** empty log message ***Jim Meyering
2005-01-25*** empty log message ***Jim Meyering