[gs-cvs] rev 7061 - trunk/gs/toolbin

leonardo at ghostscript.com leonardo at ghostscript.com
Wed Sep 20 05:01:04 PDT 2006


Author: leonardo
Date: 2006-09-20 05:01:04 -0700 (Wed, 20 Sep 2006)
New Revision: 7061

Modified:
   trunk/gs/toolbin/pdfinflt.ps
Log:
Fix : pdfinflt.ps didn't work with some files.

DETAILS :

This is a minimal change for my current need.
This patch relates to the bug 687796, but doesn't fix it.

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/toolbin/pdfinflt.ps
===================================================================
--- trunk/gs/toolbin/pdfinflt.ps	2006-09-19 23:48:03 UTC (rev 7060)
+++ trunk/gs/toolbin/pdfinflt.ps	2006-09-20 12:01:04 UTC (rev 7061)
@@ -80,7 +80,10 @@
 			    null
 			} ifelse
 		    } forall
-		    %stack: <file> <decode|null> <filter>
+		    %stack: <file> <decode|null> <filter|null>
+		    dup null eq {
+		      pop pop exit
+		    } if
 		    filterstoremove 1 index known {
 			% apply the filter
 			exch dup null eq { pop } { exch } ifelse



More information about the gs-cvs mailing list