summaryrefslogtreecommitdiff
path: root/gs/src/zfproc.c
diff options
context:
space:
mode:
authorRaph Levien <raph.levien@artifex.com>2000-12-02 19:58:45 +0000
committerRaph Levien <raph.levien@artifex.com>2000-12-02 19:58:45 +0000
commite20214dd3e4fb3a398e698f3908108d5965a1c3e (patch)
treeafd2794e85dc9f09625d928d5470e200bd614a90 /gs/src/zfproc.c
parent134f708aade8c130c9e8ff0606815e7182ac2985 (diff)
Fix: Further tweaking of the logic to clear end_status flags in a
pipeline in the continuation of a procedure write, making it more aggressive than the previous fix, but less aggressive than the original code. This is a revised fix for Sourceforge bug 119777. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@994 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/zfproc.c')
-rw-r--r--gs/src/zfproc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gs/src/zfproc.c b/gs/src/zfproc.c
index 3cc3c4104..689423453 100644
--- a/gs/src/zfproc.c
+++ b/gs/src/zfproc.c
@@ -355,8 +355,11 @@ s_proc_write_continue(i_ctx_t *i_ctx_p)
check_file(ps, op);
check_write_type(*opbuf, t_string);
- while ((ps->end_status = 0, ps->strm) != 0)
+ while (ps->strm != 0) {
+ if (ps->end_status == CALLC)
+ ps->end_status = 0;
ps = ps->strm;
+ }
ps->end_status = 0;
ss = (stream_proc_state *) ps->state;
ss->data = *opbuf;