summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-03-09Add TYPE_ONES_COMPLEMENT and TYPE_SIGNED_MAGNITUDE, and usePaul Eggert
less-tricky TYPE_MINIMUM and TYPE_MAXIMUM.
2005-03-09*** empty log message ***Jim Meyering
2005-03-09[!HAVE_FCHDIR]: Define open, fchdir, and chdir_longJim Meyering
so that this module works on systems without fchdir.
2005-03-09.Jim Meyering
2005-03-09*** empty log message ***Jim Meyering
2005-03-09(libfetish_a_SOURCES): Remove xstrtol.c and xstrtol.h.Jim Meyering
2005-03-09Factor int-properties macros into a single file, except forPaul Eggert
glibc-related files.
2005-03-09Include xstrtol.h first, to test interface.Paul Eggert
Include intprops.h. (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove.
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove.
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove. (utimecmp): Use TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT instead of rolling our own expressions.
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove.
2005-03-09Adjust comments to match intprops.h.Paul Eggert
2005-03-09(TYPE_SIGNED): Remove.Paul Eggert
(INT_STRLEN_BOUND): Switch to same implementation as intprops.h.
2005-03-09Include <signal.h>, intprops.h.Paul Eggert
(INT_STRLEN_BOUND): Remove.
2005-03-09(TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT): New macros,Paul Eggert
for consistency with intprops.h. (time_t_is_integer, twos_complement_arithmetic): Use them.
2005-03-09Include intprops.h instead of limits.h.Paul Eggert
(INT_STRLEN_BOUND, INT_BUFSIZE_BOUND): Remove.
2005-03-09(LONGEST_HUMAN_READABLE): Use 146/485 rather than 302/1000.Paul Eggert
2005-03-09Include intprops.h.Paul Eggert
(group_number): Use INT_STRLEN_BOUND instead of rolling it ourself.
2005-03-09Include intprops.h instead of limits.h.Paul Eggert
(INT_STRLEN_BOUND): Remove.
2005-03-09* lib/fts.c: Include intprops.h.Paul Eggert
(TYPE_SIGNED): Remove.
2005-03-09Initial revision.Paul Eggert
2005-03-09.Jim Meyering
2005-03-09.Jim Meyering
2005-03-09More migration to AC_LIBSOURCES/AC_LIBOBJ.Jim Meyering
(libfetish_a_SOURCES): Remove two more pairs of files: cycle-check.c, cycle-check.h and argmatch.c, argmatch.h.
2005-03-09.Jim Meyering
2005-03-09Don't include "xalloc.h". It's not used.Jim Meyering
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.