Commit 4ccd0d4a authored by Kenichi Handa's avatar Kenichi Handa
Browse files

If eof is encounterd while processing the

last block, don't just finish but processes eol block of the
current CCL program.
(ccl_driver): Add a new jump label ccl_repeat for the above
change.
parent 7b179c2d
......@@ -702,7 +702,7 @@ static tr_stack *mapping_stack_pointer;
else if (ccl->last_block) \
{ \
ic = ccl->eof_ic; \
goto ccl_finish; \
goto ccl_repeat; \
} \
else \
CCL_SUSPEND (CCL_STAT_SUSPEND_BY_SRC); \
......@@ -757,6 +757,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
for (;;)
{
ccl_repeat:
#ifdef CCL_DEBUG
ccl_backtrace_table[ccl_backtrace_idx++] = ic;
if (ccl_backtrace_idx >= CCL_DEBUG_BACKTRACE_LEN)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment