changeset 1034:aacc3e8a8e16

2008-09-10 Lillian Angel <langel@redhat.com> * patches/icedtea-lc_ctype.patch: New patch to fix this issue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497666 * Makefile.am: Added patch to list.
author Lillian Angel <langel@redhat.com>
date Wed, 10 Sep 2008 13:37:08 -0400
parents 4c642bbb2285
children 8b0e11483252
files ChangeLog Makefile.am patches/icedtea-lc_ctype.patch
diffstat 3 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 05 12:11:57 2008 -0400
+++ b/ChangeLog	Wed Sep 10 13:37:08 2008 -0400
@@ -1,3 +1,9 @@
+2008-09-10  Lillian Angel  <langel@redhat.com>
+
+	* patches/icedtea-lc_ctype.patch: New patch to fix this issue:
+	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497666
+	* Makefile.am: Added patch to list.
+
 2008-08-26  Deepak Bhole  <dbhole@redhat.com>
 
 	* IcedTeaPlugin.cc: Support for multiple simultaneous applet load.
--- a/Makefile.am	Fri Sep 05 12:11:57 2008 -0400
+++ b/Makefile.am	Wed Sep 10 13:37:08 2008 -0400
@@ -507,7 +507,8 @@
 	patches/icedtea-clean-crypto.patch \
 	$(SHARK_PATCH) \
 	$(GCC_PATCH) \
-	patches/icedtea-arch.patch
+	patches/icedtea-arch.patch \
+	patches/icedtea-lc_ctype.patch
 
 if WITH_RHINO
 ICEDTEA_PATCHES += \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-lc_ctype.patch	Wed Sep 10 13:37:08 2008 -0400
@@ -0,0 +1,11 @@
+--- java_props_md.c	2008-09-10 12:36:05.000000000 -0400
++++ openjdk/jdk/src/solaris/native/java/lang/java_props_md.c	2008-09-10 12:36:13.000000000 -0400
+@@ -211,7 +211,7 @@
+              * <language name>_<country name>.<encoding name>@<variant name>
+              * <country name>, <encoding name>, and <variant name> are optional.
+              */
+-            char temp[64];
++            char temp[strlen(lc)];
+             char *language = NULL, *country = NULL, *variant = NULL,
+                  *encoding = NULL;
+             char *std_language = NULL, *std_country = NULL, *std_variant = NULL,