summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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(my_strftime): Fix typo in octal number introduced in last change.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.
2005-09-13(__GNUC_PREREQ, __THROW, __attribute__): New macros.Paul Eggert
(__md5_buffer): Renamed from md5_buffer. Add a macro undoing this if _LIBC is not defined. Add __THROW. (__md5_finish_ctx, __md5_init_ctx, __md5_process_block): (__md5_process_bytes, __md5_read_ctx, __md5_stream): Likewise. (struct md5_ctx): Mark buffer as being aligned. (rol): Remove; all uses changed to CYCLIC.
2005-09-13Add date --rfc-3339.Paul Eggert
2005-09-13(my_strftime): Add support for %:z, %::z, %:::z.Paul Eggert
Fix bug in formats like %2N.
2005-09-13tweak commentJim Meyering
2005-09-13*** empty log message ***Jim Meyering
2005-09-13Revert unintended change that removed definitionsJim Meyering
of X2REALLOC and X2NREALLOC.
2005-09-13mostly update copyrightsJim Meyering
2005-09-13*** empty log message ***Jim Meyering
2005-09-13Use ARGMATCH_VERIFY, just in case.Jim Meyering
2005-09-10.Jim Meyering
2005-09-09Regenerate.Paul Eggert
2005-09-09Import latest regex module from gnulib, to fix some 64-bit bugs.Paul Eggert
2005-09-06* verify.h: Use a bit-field instead.Paul Eggert
2005-09-06(__builtin_constant_p): Remove, undoing previous change.Paul Eggert
(verify_type__): Solve the problem by using a bit-field rather than an array.
2005-09-05*** empty log message ***Jim Meyering
2005-09-05(__builtin_constant_p) [__GNUC__ <= 2]: Define to 1.Jim Meyering
(verify_type__) [verify_error_if_non_const__]: New member/test, to help detect when verify or verify_expr is mistakenly passed a non-constant argument within a function.
2005-09-04.Jim Meyering
2005-08-31*** empty log message ***Jim Meyering
2005-08-31(quotearg_n_options): Change code to be suboptimal, inJim Meyering
order to avoid an unsuppressible warning from gcc on 64-bit systems.
2005-08-31*** empty log message ***Jim Meyering
2005-08-31(get_charset_aliases): Add `void' in parameter listJim Meyering
to placate gcc's -Wstrict-prototypes.
2005-08-28update from gnulibJim Meyering
2005-08-27New fileJim Meyering
2005-08-27Include <sys/types.h> and declare creat_safer.Jim Meyering
2005-08-27*** empty log message ***Jim Meyering
2005-08-27*** empty log message ***Jim Meyering
2005-08-27Use `#error' rather than a string literal to provoke failure.Jim Meyering
2005-08-25*** empty log message ***Jim Meyering
2005-08-25Include <config.h>.Jim Meyering
Otherwise, we'd lose LARGEFILE support in any file using e.g. "fcntl--.h"
2005-08-24*** empty log message ***Jim Meyering
2005-08-24(stdopen): Revert to iterating over descriptors, butJim Meyering
rather than using fstat, use fcntl with its F_GETFD flag, which is more efficient. Unlike the 2-syscall dup-close approach, this one doesn't apply any unnecessary pressure on the file descriptor pool -- thus there is one fewer way to fail.
2005-08-24adjust prototypeJim Meyering
Include stdbool.h.
2005-08-23*** empty log message ***Jim Meyering
2005-08-23Update from gnulib.Jim Meyering
2005-08-23.Jim Meyering
2005-08-19Import from gnulib.Paul Eggert
(__restrict_arr): Don't define to __restrict if __cplusplus is defined.
2005-08-19*** empty log message ***Jim Meyering
2005-08-19(stdopen): Return `bool' so caller can detect failure.Jim Meyering
2005-08-17*** empty log message ***Jim Meyering
2005-08-17Make the %s format (seconds since the epoch) work for a negativeJim Meyering
number and when used with a zero-padded field width, e.g. %015s. (my_strftime): Move the `do_number_sign_and_padding' label so that it precedes the code to set `digits'. Otherwise, %0Ns wouldn't work. Before this change, `date -d @-22 +%05s' would print `00-22'. Now, it prints `-0022', as it should.
2005-08-15make log entry more accurateJim Meyering
2005-08-13*** empty log message ***Jim Meyering
2005-08-13(get_date): Undo part of the 2005-04-04 change, so thatJim Meyering
the command "date -d'2005-03-27 +1 day'" succeeds once again, even when run in a time zone for which daylight savings time is in effect for the starting date.
2005-08-12*** empty log message ***Jim Meyering