From fd9c3a9780239aee926e835a1fa17c1124db0a84 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 13 Jun 2004 00:22:19 +0000 Subject: [PATCH] (CCL_READ_CHAR): If hit EOF, set REG to -1. --- src/ccl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ccl.c b/src/ccl.c index 69beb2141e5..5bff1f3a0ad 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -827,6 +827,7 @@ while(0) } \ else if (ccl->last_block) \ { \ + REG = -1; \ ic = eof_ic; \ goto ccl_repeat; \ } \ -- 2.39.5