about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-07-20 13:53:07 +0000
committerAndreas Schwab <schwab@suse.de>1999-07-20 13:53:07 +0000
commit2aefabe1a2efb2a3ef436884068d040c79952dce (patch)
treeebbdd1c7202ff742b0bc8bd7a84eb966dd22916c
parentb3ed821981e392d20d94028aeaa94b8ab31cc678 (diff)
downloadglibc-2aefabe1a2efb2a3ef436884068d040c79952dce.tar.gz
glibc-2aefabe1a2efb2a3ef436884068d040c79952dce.tar.xz
glibc-2aefabe1a2efb2a3ef436884068d040c79952dce.zip
1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
	* time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
	bill@taniwha.org [PR libc/1211].
-rw-r--r--ChangeLog5
-rw-r--r--time/strptime.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 363a2936c3..e127e82442 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+	* time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
+	bill@taniwha.org [PR libc/1211].
+
 1999-07-19  Andreas Schwab  <schwab@suse.de>
 
 	* libio/Makefile (routines): Add fwprintf.
diff --git a/time/strptime.c b/time/strptime.c
index 959810e0f3..5f8271e250 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 },