changeset 18974:ded7c036e1ca

(read_process_output): Use new macro CODING_REQUIRE_NO_CONVERSION (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.
author Kenichi Handa <handa@m17n.org>
date Fri, 25 Jul 1997 07:46:51 +0000
parents 9f5b8d5eed29
children 06204358e78f
files src/process.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Fri Jul 25 07:46:51 1997 +0000
+++ b/src/process.c	Fri Jul 25 07:46:51 1997 +0000
@@ -2748,7 +2748,7 @@
   /* 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 @@
     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;