summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-03-06Remove register keyword.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-01.Jim Meyering
2005-03-01* src/Makefile.am (nanosec_libs): Remove $(LIB_XANOSLEEP).Paul Eggert
2005-03-01(nanosec_libs): Remove $(LIB_XANOSLEEP); no longer needed.Paul Eggert
2005-03-01* xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attemptingPaul Eggert
to detect nanosleep bug.
2005-03-01(gl_XNANOSLEEP): Remove configuration attemptingPaul Eggert
to detect nanosleep bug.
2005-03-01Don't include gethrxtime.h or xtime.h.Paul Eggert
(NANOSLEEP_BUG_WORKAROUND): Remove. (xnanosleep): Remove the workaround.
2005-03-01*** empty log message ***Jim Meyering
2005-03-01(copy_internal): Change test of source type from !S_ISREG to S_ISLNK.Jim Meyering
Reported by Paul Eggert in http://lists.gnu.org/archive/html/bug-coreutils/2004-10/msg00050.html.
2005-02-28*** empty log message ***Jim Meyering
2005-02-28*** empty log message ***Jim Meyering
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-24* coreutils.texi: Adjust to match current strftime.c.Paul Eggert
2005-02-24(Time directives): Say that %k, %l, and %P arePaul Eggert
GNU extensions. For %p and %P, mention handling of noon and midnight. For %s, use ISO 8601, and mention handling of leap seconds. For %S, clarify mention of leap seconds. For %T, say that it's the same as %H:%M:%S. For %X, don't say that it must be the same as %H:%M:%S. For %z and %Z, clarify which time zones are used. These options are now affected by --date, so don't claim that they're not. (Date directives): %C is now all but the last two chars of %Y. For %D, say that it's equivalent to %m/%d/%y. For %e, use blank in example. For %h, use @code for %b. For %Y, mention what happens with outlandish years. (Padding and other flags): Renamed from Padding. Mention that the flags are GNU extensions. Mention the 0 and ^ flags. Mention field widths an modifiers. (Examples of date): - is a flag, not a modifier.
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-23(gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.Jim Meyering
2005-02-23*** empty log message ***Jim Meyering
2005-02-22*** empty log message ***Jim Meyering
2005-02-22(gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.Jim Meyering
2005-02-22*** empty log message ***Jim Meyering
2005-02-22(gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER.Jim Meyering
2005-02-22Regenerate.Paul Eggert
2005-02-22Fix clock_gettime library access problem on recent GNU/Linux systems.Paul Eggert
2005-02-22(dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME).Paul Eggert
(nanosec_libs): Add $(LIB_XNANOSLEEP). Needed for newer GNU/Linux hosts with clock_gettime.
2005-02-22(gl_PREREQ): Require gl_XNANOSLEEP.Paul Eggert
2005-02-22(gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,Paul Eggert
gl_USE_SYSTEM_EXTENSIONS. Check whether CLOCK_MONOTONIC is defined, and set LIB_GETHRXTIME accordingly. This is needed for newer GNU/Linux systems that have clock_gettime, so that they link in the appropriate library for it when needed.
2005-02-22(libfetish_a_SOURCES): Remove xnanosleep.c,Paul Eggert
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.
2005-02-22Initial revision.Paul Eggert
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-21(time): Remove obsolete decl.Paul Eggert
(main): Gettime now returns void.
2005-02-21Include gethrxtime.h.Paul Eggert
(isaac_seed): Use gethrxtime rather than a mishmash.
2005-02-21(time): Remove obsolete decl.Paul Eggert
(get_current_time): gettimeofday always returns 0, so don't check its result.
2005-02-21Include gethrxtime.h, xtime.h.Paul Eggert
(start_time): Now of type xtime_t, not struct timespec. (print_stats, main): Use gethrxtime rather than gettime.
2005-02-21(main): gettime now returns void.Paul Eggert
2005-02-21(dd_LDADD, shred_LDADD, nanosec_libs):Paul Eggert
Remove $(LIB_CLOCK_GETTIME). These functions now use gethrxtime instead.
2005-02-21(gl_PREREQ): Require gl_GETHRXTIME.Paul Eggert
Require gl_STRIPSLASH and gl_LINEBUFFER.
2005-02-21(gl_MACROS): Don't check for gethrtime.Paul Eggert
2005-02-21(gl_GETTIME): Check for nanotime.Paul Eggert
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.