diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-02-24 00:27:17 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-02-24 00:27:17 +0000 |
commit | 157fdac5711801f617b98c0b9b56aefae901922c (patch) | |
tree | dfe2c9d1d9dc21c6e8b69c3e95f18534dce41fd8 /lib/ChangeLog | |
parent | 3477139eaafd3be1060c3516aadef39d1d48a83f (diff) | |
download | coreutils-157fdac5711801f617b98c0b9b56aefae901922c.tar.xz |
strftime.c cleanup to handle outlandish years.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r-- | lib/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 60f76b2b6..5f8790f95 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,15 @@ +2005-02-23 Paul Eggert <eggert@cs.ucla.edu> + + * strftime.c: Include <stdbool.h>. Use bool where appropriate, + instead of int. + (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-21 Paul Eggert <eggert@cs.ucla.edu> * Makefile.am (libfetish_a_SOURCES): Remove xnanosleep.c, |