summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-09-16(subfmt-up1): Put quotes around format stringJim Meyering
to protect `^' from interpretation by some shells. Add a use of OUT_SUBST to compensate for Solaris strftime's slightly different formatting of %c.
2005-09-16*** empty log message ***Jim Meyering
2005-09-16(main): When failing to truncate, mention both the seek block countJim Meyering
and the block size, in case the block size is very large.
2005-09-16*** empty log message ***Jim Meyering
2005-09-16*** empty log message ***Jim Meyering
2005-09-16Include fprintftime.h.Jim Meyering
Don't include strftime.h or xanstrftime.h -- no longer needed. (show_date): Use new fprintftime function rather than xanstrftime. Correct comment: this function no longer handles a NULL format string.
2005-09-16(show_date): Correct comment: this function no longer handles aJim Meyering
NULL format string.
2005-09-16(show_date): Remove now-spurious braces.Jim Meyering
2005-09-16Regenerate.Paul Eggert
2005-09-16Import file time stamp resolution improvements from gnulib.Paul Eggert
2005-09-16.Jim Meyering
2005-09-16Include stat-time.h, and use its functions instead of the obsoletePaul Eggert
TIMESPEC_NS macro.
2005-09-16Include stat-time.h, and use its functions instead of the obsoletePaul Eggert
TIMESPEC_NS macro. (get_mtime): Renamed from age_of. All uses changed.
2005-09-16Remove; no longer needed.Paul Eggert
2005-09-16(gl_TIMESPEC): Require AC_C_INLINE.Paul Eggert
Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
2005-09-16(gl_PREREQ): Require gl_STAT_TIME.Paul Eggert
2005-09-16(gl_CHECK_ALL_TYPES): Do not requirePaul Eggert
AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
2005-09-16Include stat-time.h.Paul Eggert
(SYSCALL_RESOLUTION): Depend on whether various struct stat members exist, not on the obsolescent ST_MTIM_NSEC. (utimecmp): Use the new stat-time functions rater than TIMESPEC_NS.
2005-09-16(ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP):Paul Eggert
(MTIME_CMP, TIMESPEC_NS): Remove. Now done by stat-time.h, in a different way. (timespec_cmp): New function.
2005-09-16*** empty log message ***Jim Meyering
2005-09-16New file.Paul Eggert
2005-09-16New file.Paul Eggert
2005-09-16Add stat-time.h.Paul Eggert
2005-09-16*** empty log message ***Jim Meyering
2005-09-16*** empty log message ***Jim Meyering
2005-09-16Include fprintftime.h.Jim Meyering
Don't include strftime.h or xanstrftime.h -- no longer needed. (show_date): Use fprintftime rather than xanstrftime.
2005-09-16(libcoreutils_a_SOURCES): Add fprintftime.c and fprintftime.h.Jim Meyering
2005-09-16*** empty log message ***Jim Meyering
2005-09-16[FPRINTFTIME] (fprintftime): Provide a new interface:Jim Meyering
size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm, int utc, int nanoseconds); Background: date should not have to allocate a megabyte of virtual memory to handle a format argument like +%1048575T. When implemented with strftime, it must allocate such a buffer, use strftime to fill it in, print it, then free it. With fprintftime, it simply prints everything and exits. With no need for memory allocation, that's one fewer way to fail.
2005-09-16*** empty log message ***Jim Meyering
2005-09-16*** empty log message ***Jim Meyering
2005-09-16(subfmt-up1): Test the combination of theJim Meyering
to-upper-case modifier (^) and a conversion specifier that expands to a string containing lower case characters.
2005-09-15(usage, main): uname -a no longer generates the -p and -i outputs ifPaul Eggert
they are unknown.
2005-09-15uname -a no longer generates the -p and -i outputs if they are unknown.Paul Eggert
2005-09-15Rewrite previous strftime change slightly.Paul Eggert
2005-09-15(my_strftime): Rewrite the previous change slightly,Paul Eggert
to make it a bit faster and (I hope) clearer.
2005-09-14*** empty log message ***Jim Meyering
2005-09-14(my_strftime): Be sure to use L_('x') for literals.Jim Meyering
2005-09-14*** empty log message ***Jim Meyering
2005-09-14(my_strftime): Parse the colons of %:::z *after* theJim Meyering
optional field width, not before, so we accept %9:z, not %:9z.
2005-09-14*** empty log message ***Jim Meyering
2005-09-14(tz-5w, tz-5wf): Test new %:z format with a field width.Jim Meyering
2005-09-14Fix typos noted by Eric Blake.Paul Eggert
2005-09-14Add tz-1 through tz-5.Paul Eggert
2005-09-14(my_strftime): Fix typo in octal number introduced in last change.Paul Eggert
2005-09-14du and pr also have +:z etc.Paul Eggert
2005-09-13Merge md5 from libc, and clean up some sha1 glitches.Paul Eggert
2005-09-13(SWAP): Renamed from NOTSWAP, to avoid a horrible misnaming.Paul Eggert
All uses changed. Remove the old SWAP. Remove obvious comment about BLOCKSIZE. (rol): New macro, moved here from md5.h. (sha1_process_block): Remove an incoherent FIXME comment.
2005-09-13(struct sha1_ctx): Mark buffer as being aligned.Paul Eggert
2005-09-13(CYCLIC): New macro. All uses of rol changed to use CYCLIC.Paul Eggert
Redo comment to minimize changes from libc.