[gs-cvs] rev 8726 - trunk/gs/lib

alexcher at ghostscript.com alexcher at ghostscript.com
Sun May 11 10:00:17 PDT 2008


Author: alexcher
Date: 2008-05-11 10:00:17 -0700 (Sun, 11 May 2008)
New Revision: 8726

Modified:
   trunk/gs/lib/ps2epsi.ps
Log:
Fix a bug that leaves a junk value on the stack for every empty row on the
page during execution of a redefined showpage. Bug 689832.

DETAILS:
The bug was introduced in rev. 2602 and stayed undetected for a while because
most files don't depend on the contents of the operand stack after executing
showpage.

DIFFERENCES:
None, not covered by regression testing.


Modified: trunk/gs/lib/ps2epsi.ps
===================================================================
--- trunk/gs/lib/ps2epsi.ps	2008-05-10 22:02:03 UTC (rev 8725)
+++ trunk/gs/lib/ps2epsi.ps	2008-05-11 17:00:17 UTC (rev 8726)
@@ -160,7 +160,9 @@
 	  dup rm gt
           % If the new index is greater, we save index and element
           { /rm exch def } { pop } ifelse
-	} if
+	} {
+          pop
+        } ifelse
       } for
 
      % Calculate the bounding box values.



More information about the gs-cvs mailing list