[gs-cvs] rev 6904 - trunk/gs/src

tor at ghostscript.com tor at ghostscript.com
Mon Jul 10 04:00:19 PDT 2006


Author: tor
Date: 2006-07-10 04:00:18 -0700 (Mon, 10 Jul 2006)
New Revision: 6904

Modified:
   trunk/gs/src/gsmisc.c
Log:
remove the null memory context argument to errprintf in gs_throw_imp that was accidentally left in from when the function was ported over from ghostpcl.

Modified: trunk/gs/src/gsmisc.c
===================================================================
--- trunk/gs/src/gsmisc.c	2006-07-09 14:04:23 UTC (rev 6903)
+++ trunk/gs/src/gsmisc.c	2006-07-10 11:00:18 UTC (rev 6904)
@@ -241,19 +241,19 @@
 
     /* throw */
     if (op == 0)
-	errprintf(NULL, "+ %s:%d: %s(): %s\n", file, line, func, msg);
+	errprintf("+ %s:%d: %s(): %s\n", file, line, func, msg);
 
     /* rethrow */
     if (op == 1)
-	errprintf(NULL, "| %s:%d: %s(): %s\n", file, line, func, msg);
+	errprintf("| %s:%d: %s(): %s\n", file, line, func, msg);
 
     /* catch */
     if (op == 2)
-	errprintf(NULL, "- %s:%d: %s(): %s\n", file, line, func, msg);
+	errprintf("- %s:%d: %s(): %s\n", file, line, func, msg);
 
     /* warn */
     if (op == 3)
-	errprintf(NULL, "  %s:%d: %s(): %s\n", file, line, func, msg);
+	errprintf("  %s:%d: %s(): %s\n", file, line, func, msg);
 
     return code;
 }



More information about the gs-cvs mailing list