/[classpath]/classpath/native/jni/gtk-peer/gthread-jni.c
ViewVC logotype

Diff of /classpath/native/jni/gtk-peer/gthread-jni.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16.2.1 by gnu_andrew, Thu Jan 13 22:40:46 2005 UTC revision 1.16.2.2 by gnu_andrew, Sun Mar 13 14:38:49 2005 UTC
# Line 223  exception statement from your version. * Line 223  exception statement from your version. *
223  #elif defined HAVE_INTTYPES_H  #elif defined HAVE_INTTYPES_H
224  #include <inttypes.h>  #include <inttypes.h>
225  #endif  #endif
 #include <stdio.h>              /* snprintf */  
226  #include <stdarg.h>             /* va_list */  #include <stdarg.h>             /* va_list */
227    #include <glib.h>
228  #include "gthread-jni.h"  #include "gthread-jni.h"
229  #include <assert.h>             /* assert() */  #include <assert.h>             /* assert() */
230    
# Line 464  throw (JNIEnv * env, jthrowable cause, c Line 464  throw (JNIEnv * env, jthrowable cause, c
464    if ((buf = malloc (len)))    if ((buf = malloc (len)))
465      {      {
466        memset (buf, 0, len);        memset (buf, 0, len);
467        snprintf (buf, len, fmt, message, file, line);        g_snprintf (buf, len, fmt, message, file, line);
468        jmessage = (*env)->NewStringUTF (env, buf);        jmessage = (*env)->NewStringUTF (env, buf);
469        free (buf);        free (buf);
470      }      }

Legend:
Removed from v.1.16.2.1  
changed lines
  Added in v.1.16.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26