]> git.ipfire.org Git - thirdparty/glibc.git/commit
2007-02-08 Jakub Jelinek <jakub@redhat.com>
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2007 14:50:41 +0000 (14:50 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2007 14:50:41 +0000 (14:50 +0000)
commit19cc85872149d2643dcb9ba309bc699b5527012b
tree4ac4efce0914166152aea28d158e91110a260eed
parenta7beb7950083163f5581152f830b3a06b6408bfb
2007-02-08  Jakub Jelinek  <jakub@redhat.com>

[BZ #3944]
* time/strptime_l.c (__strptime_internal): Set have_mon for
%b/%B/%h.  Set have_mon and have_mday if tm_mon and tm_mday
have been computed from tm_yday and tm_year.  Don't crash
in day_of_the_week or day_of_the_year if not have_mon
and tm_mon contains bogus value.
* time/Makefile (tests): Add tst-strptime3.
* time/tst-strptime3.c: New test.
ChangeLog
time/Makefile
time/strptime_l.c
time/tst-strptime3.c [new file with mode: 0644]