summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2005-02-21(get_date): gettime now returns void, not int.Paul Eggert
2005-02-21dd now uses a real-time clock if available, for transfer statistics.Paul Eggert
2005-02-21Initial revision.Paul Eggert
2005-02-21Don't assume that the current host supports 64-bit integers.Paul Eggert
2005-02-21Don't assume that the current host supports integers wider than 32Paul Eggert
bits. Fix comment typo.
2005-02-21(enum RCH_status): Remove trailing comma,Paul Eggert
as it's not valid in standard C89.
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-20update from gnulibJim Meyering
2005-02-20*** empty log message ***Jim Meyering
2005-02-20(libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c.Jim Meyering
2005-02-20*** empty log message ***Jim Meyering
2005-02-20*** empty log message ***Jim Meyering
2005-02-17.Jim Meyering
2005-02-15*** empty log message ***Jim Meyering
2005-02-15*** empty log message ***Jim Meyering
2005-02-15regenerateJim Meyering
2005-02-15(human_fstype): Add case/definition for S_MAGIC_JFSJim Meyering
so that file systems of type `jfs' are recognized as such.
2005-02-15regen for XFSJim Meyering