From 71a4b3e854d09ed68b568b2dd8d9166d238ce4f1 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 25 Jul 1997 07:46:51 +0000 Subject: [PATCH] (read_process_output): Use new macro CODING_REQUIRE_NO_CONVERSION (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION. --- src/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/process.c b/src/process.c index 5cb882c1597..4f691dd86b2 100644 --- a/src/process.c +++ b/src/process.c @@ -2748,7 +2748,7 @@ read_process_output (proc, channel) /* Now set NCHARS how many bytes we must decode. */ nchars += coding->carryover_size; - if (CODING_REQUIRE_CONVERSION (coding)) + if (! CODING_REQUIRE_NO_CONVERSION (coding)) { int require = decoding_buffer_size (coding, nchars); int consumed, produced; @@ -3001,7 +3001,7 @@ send_process (proc, buf, len, object) error ("Output file descriptor of %s is closed", procname); coding = proc_encode_coding_system[XINT (XPROCESS (proc)->outfd)]; - if (CODING_REQUIRE_CONVERSION (coding)) + if (! CODING_MAY_REQUIRE_NO_CONVERSION (coding)) { int require = encoding_buffer_size (coding, len); int offset, dummy; -- 2.39.5