From: Andreas Schwab Date: Tue, 20 Jul 1999 13:53:07 +0000 (+0000) Subject: 1999-07-20 Andreas Jaeger X-Git-Tag: upstream/2.30~27006 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2aefabe1a2efb2a3ef436884068d040c79952dce;p=external%2Fglibc.git 1999-07-20 Andreas Jaeger * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by bill@taniwha.org [PR libc/1211]. --- diff --git a/ChangeLog b/ChangeLog index 363a293..e127e82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-07-20 Andreas Jaeger + + * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by + bill@taniwha.org [PR libc/1211]. + 1999-07-19 Andreas Schwab * libio/Makefile (routines): Add fwprintf. diff --git a/time/strptime.c b/time/strptime.c index 959810e..5f8271e 100644 --- a/time/strptime.c +++ b/time/strptime.c @@ -200,7 +200,7 @@ static char const ab_month_name[][4] = # define HERE_T_FMT_AMPM "%I:%M:%S %p" # define HERE_T_FMT "%H:%M:%S" -const unsigned short int __mon_yday[1][13] = +const unsigned short int __mon_yday[2][13] = { /* Normal years. */ { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },