[gs-bugs] [Bug 691137] "Can't refill scanner input buffer" error when Ubuntu test page (PostScript) fed into GS via stdin

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Feb 23 22:48:23 UTC 2010


------- Additional Comments From till.kamppeter at gmail.com  2010-02-23 14:48 -------
Problem is that the PS Interpreter tries to seek on the input file for certain
files. A fix would be to avoid seeking under all circumstances, for example by
reading bigger pieces into a buffer.

A workaround is to never call Ghostscript with "-" as input file but always use
"-_" instead. For this especially also all scripts which come with Ghostscript
need to be fixed. See the attached ps2pdfwr as an example. The additional

if [ "${infile}" = "-" ]; then

solves the problem when any ps2pdf* script is used.

------- 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