[gs-cvs] rev 8794 - trunk/gs/src
mvrhel at ghostscript.com
mvrhel at ghostscript.com
Tue Jun 10 13:37:05 PDT 2008
Author: mvrhel
Date: 2008-06-10 13:37:05 -0700 (Tue, 10 Jun 2008)
New Revision: 8794
Modified:
trunk/gs/src/simscale.c
Log:
For bug 689888. This fixes the hang in the while loop. If end of file occurs during the reading of the stream it is passed along by the filter. However, proper output does not occur due to a different issue. Another bug was opened related to this postscript noncompliance of string reading reuse in imaging operators. See 689889.
Modified: trunk/gs/src/simscale.c
===================================================================
--- trunk/gs/src/simscale.c 2008-06-10 19:25:17 UTC (rev 8793)
+++ trunk/gs/src/simscale.c 2008-06-10 20:37:05 UTC (rev 8794)
@@ -8346,6 +8346,8 @@
}
if (rleft == 0 && !last)
return 0; /* need more input */
+ if (rleft == 0)
+ return EOFC; /* end of file. pass along in stream */
if (ss->src_offset == 0) {
/* could maintain window as ring (y mod 4 addressing),
but this is simpler */
More information about the gs-cvs
mailing list