Diff for /np2/x11/trace.c between versions 1.4 and 1.5

version 1.4, 2005/02/26 13:32:14 version 1.5, 2011/01/15 16:48:39
Line 14  void trace_term(void) { Line 14  void trace_term(void) {
 void trace_fmt(const char *fmt, ...) {  void trace_fmt(const char *fmt, ...) {
   
         va_list ap;          va_list ap;
         char    buf[1024];          gchar buf[1024];
 #ifndef WIN32  
         char    euc[1024];  
 #endif  
   
         va_start(ap, fmt);          va_start(ap, fmt);
         vsprintf(buf, fmt, ap);          g_vsnprintf(buf, sizeof(buf), fmt, ap);
         va_end(ap);          va_end(ap);
 #ifndef WIN32          g_printerr("%s\n", buf);
         codecnv_sjistoeuc(euc, sizeof(euc), buf, sizeof(buf));  
         fprintf(stderr, "%s\n", euc);  
 #else  
         fprintf(stderr, "%s\n", buf);  
 #endif  
 }  }

Removed from v.1.4  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>