[gs-cvs] rev 7891 - in trunk/gs: src toolbin

alexcher at ghostscript.com alexcher at ghostscript.com
Tue May 1 16:55:23 PDT 2007


Author: alexcher
Date: 2007-05-01 16:55:23 -0700 (Tue, 01 May 2007)
New Revision: 7891

Modified:
   trunk/gs/src/gxipixel.c
   trunk/gs/toolbin/vg_bugs.supp
   trunk/gs/toolbin/vg_okay.supp
Log:
Pacify Valgrind. Initialize an uninitialized variable that is used in
conditional expression but doesn't affect the end result. Bug 688910.

DIFFERENCES:
None


Modified: trunk/gs/src/gxipixel.c
===================================================================
--- trunk/gs/src/gxipixel.c	2007-05-01 22:51:27 UTC (rev 7890)
+++ trunk/gs/src/gxipixel.c	2007-05-01 23:55:23 UTC (rev 7891)
@@ -202,7 +202,7 @@
     byte *buffer;
     fixed mtx, mty;
     gs_fixed_point row_extent, col_extent, x_extent, y_extent;
-    bool device_color;
+    bool device_color = true;
     gs_fixed_rect obox, cbox;
 
     if (pmat == 0)

Modified: trunk/gs/toolbin/vg_bugs.supp
===================================================================
--- trunk/gs/toolbin/vg_bugs.supp	2007-05-01 22:51:27 UTC (rev 7890)
+++ trunk/gs/toolbin/vg_bugs.supp	2007-05-01 23:55:23 UTC (rev 7891)
@@ -1,5 +1,3 @@
-# $Id: $
-
 # Ghostscript error suppression file for Valgrind memcheck tool.
 #
 # The following are suspected bugs which should be either fixed or
@@ -12,6 +10,7 @@
 # Errors, detected in the system calls or CRTL are not suppressed
 # because this cannot be done in the platform-independent way.
 #
+# $Id: vg_bugs.supp 7890 2007-05-02 19:56:24Z alexcher $
 
 # Type 1 to Type 2 conversion issues
 # pdfwrite - Bug687846.ps 401-01.ps
@@ -102,17 +101,6 @@
    fun:process_transfer
 }
 
-# Image render
-# pdfwrite - 405-01.ps 450-01.ps
-{
-   <bug 688910>
-   Memcheck:Cond
-   fun:image_render_mono
-   fun:gx_image1_plane_data
-   fun:gx_image_plane_data_rows
-   fun:gs_image_next_planes
-}
-
 # Image 3
 # pdfwrite - ai2.pdf
 {

Modified: trunk/gs/toolbin/vg_okay.supp
===================================================================
--- trunk/gs/toolbin/vg_okay.supp	2007-05-01 22:51:27 UTC (rev 7890)
+++ trunk/gs/toolbin/vg_okay.supp	2007-05-01 23:55:23 UTC (rev 7891)
@@ -1,9 +1,10 @@
-# $Id:  $
-
 # Ghostscript error suppression file for Valgrind memcheck tool.
 #
 # This file supresses messages that are known not to be bugs.
+#
+# $Id: vg_okay.supp 7890 2007-05-02 19:56:24Z alexcher $
 
+
 # Zlib examines the data past the end of the buffer by design
 # to reduce the number of boundary checks. This doesn't have any
 # external effects.



More information about the gs-cvs mailing list