[kaffe] CVS kaffe (robilad): Fixed mauve regressions with non-C locales

Kaffe CVS cvs-commits at kaffe.org
Thu Oct 7 14:46:54 PDT 2004


PatchSet 5255 
Date: 2004/10/07 21:42:59
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed mauve regressions with non-C locales

2004-10-07  Noa Resare  <noa at resare.com>

        * libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
        Fix for weird locale handling in kaffe.

Members: 
	ChangeLog:1.2809->1.2810 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2809 kaffe/ChangeLog:1.2810
--- kaffe/ChangeLog:1.2809	Thu Oct  7 15:14:21 2004
+++ kaffe/ChangeLog	Thu Oct  7 21:42:59 2004
@@ -1,3 +1,8 @@
+2004-10-07  Noa Resare  <noa at resare.com>
+
+	* libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
+	Fix for weird locale handling in kaffe.
+
 2004-10-07  Ito Kazumitsu  <kaz at maczuka.gcd.org>
 
 	* libraries/javalib/kaffe/io/ConverterAlias.java:
Index: kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
diff -u kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.2 kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.3
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.2	Sun Jul 25 06:37:23 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c	Thu Oct  7 21:43:02 2004
@@ -39,6 +39,7 @@
 #include "gtkpeer.h"
 #include "gnu_java_awt_peer_gtk_GtkMainThread.h"
 #include "gthread-jni.h"
+#include "locale.h"
 
 #ifdef JVM_SUN
   struct state_table *native_state_table;
@@ -117,6 +118,7 @@
   gdk_threads_init();
 
   gtk_init (&argc, &argv);
+  setlocale(LC_ALL, "C");
 
   gdk_rgb_init ();
   gtk_widget_set_default_colormap (gdk_rgb_get_cmap ());



More information about the kaffe mailing list