[kaffe] CVS kaffe (noa): libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
Kaffe CVS
cvs-commits at kaffe.org
Fri Nov 5 05:57:26 PST 2004
PatchSet 5399
Date: 2004/11/05 13:52:42
Author: noa
Branch: HEAD
Tag: (none)
Log:
2004-11-04 Noa Resare <noa at resare.com>
* libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
Reintroduce setlocale() call.
Members:
ChangeLog:1.2948->1.2949
libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.5->1.6
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2948 kaffe/ChangeLog:1.2949
--- kaffe/ChangeLog:1.2948 Thu Nov 4 19:43:31 2004
+++ kaffe/ChangeLog Fri Nov 5 13:52:42 2004
@@ -1,5 +1,10 @@
2004-11-04 Noa Resare <noa at resare.com>
+ * libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
+ Reintroduce setlocale() call.
+
+2004-11-04 Noa Resare <noa at resare.com>
+
* tests/regression/DateFormatTest.java: Test with a constant date
inside the DST range to trigger DST bugs.
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.5 kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.6
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.5 Wed Oct 27 22:15:43 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c Fri Nov 5 13:52:46 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;
@@ -123,6 +124,7 @@
gdk_threads_init();
gtk_init (&argc, &argv);
+ setlocale(LC_NUMERIC, "C");
gdk_rgb_init ();
gtk_widget_set_default_colormap (gdk_rgb_get_cmap ());
More information about the kaffe
mailing list