iiwusynth-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iiwusynth-devel] [PATCH] iiwu_sys.c


From: Peter Hanappe
Subject: Re: [iiwusynth-devel] [PATCH] iiwu_sys.c
Date: Sun, 02 Jun 2002 23:39:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205

Hi Bob,

I applied this patch as well as the acinclude.m4 patch.
Now in CVS.

Peter


Bob Ham wrote:
Another quick patch.  This provides a little more helpful information
when the synth is being used via libiiwusynth.



------------------------------------------------------------------------

Index: iiwu_sys.c
===================================================================
RCS file: /cvsroot/iiwusynth/iiwusynth/src/iiwu_sys.c,v
retrieving revision 1.18
diff -u -3 -p -r1.18 iiwu_sys.c
--- iiwu_sys.c  9 May 2002 16:29:52 -0000       1.18
+++ iiwu_sys.c  31 May 2002 09:52:49 -0000
@@ -147,24 +147,24 @@ iiwu_default_log_function(int level, cha
switch (level) { case IIWU_PANIC: - IIWU_FPRINTF(stderr, "panic: %s\n", message);
+    IIWU_FPRINTF(stderr, "%s: panic: %s\n", "iiwusynth", message);
     break;
case IIWU_ERR: - IIWU_FPRINTF(stderr, "error: %s\n", message);
+    IIWU_FPRINTF(stderr, "%s: error: %s\n", "iiwusynth", message);
     break;
case IIWU_WARN: - IIWU_FPRINTF(stderr, "warning: %s\n", message);
+    IIWU_FPRINTF(stderr, "%s: warning: %s\n", "iiwusynth", message);
     break;
case IIWU_INFO: - IIWU_FPRINTF(stderr, "%s\n", message);
+    IIWU_FPRINTF(stderr, "%s: %s\n", "iiwusynth", message);
     break;
case IIWU_DBG: #if DEBUG
-    IIWU_FPRINTF(stderr, "debug: %s\n", message);
+    IIWU_FPRINTF(stderr, "%s: debug: %s\n", "iiwusynth", message);
 #endif
     break;
   default:
-    IIWU_FPRINTF(stderr, "%s\n", message);
+    IIWU_FPRINTF(stderr, "%s: %s\n", "iiwusynth", message);
     break;
   }
   fflush(stderr);







reply via email to

[Prev in Thread] Current Thread [Next in Thread]