[gs-bugs] [Bug 690335] File has an unbalanced >> (close dictionary).

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Mar 17 09:43:24 PDT 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690335





------- Additional Comments From marcos.woehrmann at artifex.com  2009-03-17 09:43 -------
The change is trivial, so rather than attach a patch I'm posting it here (I'm assuming OpenVMS can't 
read Unix style patches):

Index: psi/zfrsd.c
===============================================================
====
--- psi/zfrsd.c	(revision 9171)
+++ psi/zfrsd.c	(revision 9172)
@@ -444,6 +444,7 @@
 
     if (pos >= ss->file_sz)
 	return EOFC;
+    pos += sbufavailable(ss->s);
     blk_i   = pos / ss->blk_sz;
     blk_off = pos % ss->blk_sz;
     blk_cnt = r_size(&ss->blocks);




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list