This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/time strptime.c
- To: glibc-cvs@sourceware.cygnus.com
- Subject: libc/time strptime.c
- From: drepper@sourceware.cygnus.com
- Date: 2 Jul 1999 05:03:53 -0000
CVSROOT: /glibc/cvsfiles
Module name: libc
Changes by: drepper@egcs.cygnus.com 99/07/01 22:03:52
Modified files:
time : strptime.c
Log message:
(strptime): Initialize the tm struct first to avoid
returning bogus results on incomplete data.
(strptime_internal): day_of_the_week() requres bith tm_mon and tm_mday to be
initializaed. Computer them first if they are not given.
(strptime_internal): (have_mon, have_mday): new variables.