Modified files:
. : ChangeLog
time : Makefile strptime_l.c
Added files:
time : tst-strptime3.c
Log message:
2007-02-08 Jakub Jelinek <email address hidden>
[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.
Subject: Bug 3944
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_5-branch
Changes by: <email address hidden> 2007-07-12 14:50:42
Modified files:
. : ChangeLog
time : Makefile strptime_l.c
Added files:
time : tst-strptime3.c
Log message:
2007-02-08 Jakub Jelinek <email address hidden>
[BZ #3944] internal) : Set have_mon for strptime3. c: New test.
* time/strptime_l.c (__strptime_
%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-
Patches: sourceware. org/cgi- bin/cvsweb. cgi/libc/ ChangeLog. diff?cvsroot= glibc&only_ with_tag= glibc-2_ 5-branch& r1=1.10362. 2.40&r2= 1.10362. 2.41 sourceware. org/cgi- bin/cvsweb. cgi/libc/ time/tst- strptime3. c.diff? cvsroot= glibc&only_ with_tag= glibc-2_ 5-branch& r1=NONE& r2=1.1. 6.1 sourceware. org/cgi- bin/cvsweb. cgi/libc/ time/Makefile. diff?cvsroot= glibc&only_ with_tag= glibc-2_ 5-branch& r1=1.110& r2=1.110. 2.1 sourceware. org/cgi- bin/cvsweb. cgi/libc/ time/strptime_ l.c.diff? cvsroot= glibc&only_ with_tag= glibc-2_ 5-branch& r1=1.7& r2=1.7. 2.1
http://
http://
http://
http://