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

giles at ghostscript.com giles at ghostscript.com
Mon Sep 11 22:07:59 PDT 2006


Author: giles
Date: 2006-09-11 22:07:58 -0700 (Mon, 11 Sep 2006)
New Revision: 7035

Modified:
   trunk/gs/src/mkromfs.c
Log:
Move the debugging information to a single line to reduce log noise.


Modified: trunk/gs/src/mkromfs.c
===================================================================
--- trunk/gs/src/mkromfs.c	2006-09-11 20:26:01 UTC (rev 7034)
+++ trunk/gs/src/mkromfs.c	2006-09-12 05:07:58 UTC (rev 7035)
@@ -261,11 +261,11 @@
     put_uint32(out, node->length | (compression ? 0x80000000 : 0));
     fprintf(out, "\t/* compression_flag_bit + file length */\n\t");
     
-    printf("writing node '%s' len=%ld\n", node->name, node->length);
+    printf("writing node '%s' len=%ld", node->name, node->length);
 #ifdef DEBUG
-    printf(" blocks %ld\n", blocks);
-    printf(" compression %d\n", compression);
+    printf(" %ld blocks %s", blocks, compression ? "compressed" : "binary");
 #endif
+    printf("\n");
     
     /* write out data block structures */
     offset = 4 + (8*blocks) + ((namelen+3) & ~3);



More information about the gs-cvs mailing list