+2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
+ snprintf.
+
2005-02-19 Michael Koch <konqueror@gmx.de>
* Makefile.am: Added new files in gnu/java/beans and
#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() */
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);
}