From 11218c687b453aff6e332bde3e98cdb1f5bdbf6c Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 3 Mar 1998 01:29:16 +0000 Subject: [PATCH] (Fcall_process): Calculate CARRYOVER correctly. --- src/callproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callproc.c b/src/callproc.c index 3d117f52d6c..7dc30da41a8 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -712,7 +712,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") nread, size); if (process_coding.produced > 0) insert (decoding_buf, process_coding.produced); - carryover = process_coding.produced - process_coding.consumed; + carryover = nread - process_coding.consumed; if (carryover > 0) { /* As CARRYOVER should not be that large, we had -- 2.39.2