[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: peer fixlet

Kaffe CVS cvs-commits at kaffe.org
Wed Feb 23 14:02:10 PST 2005


PatchSet 5599 
Date: 2005/02/23 21:55:43
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: peer fixlet

2005-02-23  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2005-02-22  Thomas Fitzsimmons  <fitzsim at redhat.com>

        * native/jni/gtk-peer/gthread-jni.c (throw):
        Call g_snprintf instead of snprintf.

Members: 
	ChangeLog:1.3644->1.3645 
	libraries/clib/awt/classpath-gtk/gtk-peer/gthread-jni.c:1.3->1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3644 kaffe/ChangeLog:1.3645
--- kaffe/ChangeLog:1.3644	Wed Feb 23 21:15:04 2005
+++ kaffe/ChangeLog	Wed Feb 23 21:55:43 2005
@@ -4,6 +4,15 @@
 
 	2005-02-22  Thomas Fitzsimmons  <fitzsim at redhat.com>
 
+        * native/jni/gtk-peer/gthread-jni.c (throw):
+        Call g_snprintf instead of snprintf.
+
+2005-02-23  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+
+	2005-02-22  Thomas Fitzsimmons  <fitzsim at redhat.com>
+
         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
         (getWidth): New method.
Index: kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gthread-jni.c
diff -u kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gthread-jni.c:1.3 kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gthread-jni.c:1.4
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gthread-jni.c:1.3	Wed Aug 11 15:24:09 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gthread-jni.c	Wed Feb 23 21:55:46 2005
@@ -223,8 +223,8 @@
 #elif defined HAVE_INTTYPES_H
 #include <inttypes.h>
 #endif
-#include <stdio.h>		/* snprintf */
 #include <stdarg.h>		/* va_list */
+#include <glib.h>
 #include "gthread-jni.h"
 #include <assert.h>		/* assert() */
 
@@ -464,7 +464,7 @@
   if ((buf = malloc (len)))
     {
       memset (buf, 0, len);
-      snprintf (buf, len, fmt, message, file, line);
+      g_snprintf (buf, len, fmt, message, file, line);
       jmessage = (*env)->NewStringUTF (env, buf);
       free (buf);
     }




More information about the kaffe mailing list