Fix for 687363 , "Debug decompress.ps"
Alex Cherepanov <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Organization | Coscript Software |
| Message-ID | <[email protected]> |
Actually, the fix is for toolbin/pdfinflt.ps . Log message: Use ld_length instead of length because RMap is a long dictionary. _______________________________________________ gs-code-review mailing list [email protected] http://www.ghostscript.com/mailman/listinfo/gs-code-review
pdfinflt.ps.diff
(text/plain, 742 B)
Index: gs/toolbin/pdfinflt.ps
===================================================================
RCS file: /cvs/ghostscript/gs/toolbin/pdfinflt.ps,v
retrieving revision 1.4
diff -b -u -r1.4 pdfinflt.ps
--- a/gs/toolbin/pdfinflt.ps 19 Jun 2002 20:13:05 -0000 1.4
+++ b/gs/toolbin/pdfinflt.ps 9 Apr 2004 15:43:21 -0000
@@ -59,7 +59,7 @@
% find its length, we create an indirect object.
10 dict begin
/infile exch def /sdict exch def
- RMap length neg omapnew pop /lenobj exch def
+ RMap ld_length neg omapnew pop /lenobj exch def
sdict dup length dict copy
dup /Filter undef dup /DecodeParms undef
dup /Length lenobj /O cvx 2 packedarray cvx put