aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKenichi Handa1997-07-25 07:46:51 +0000
committerKenichi Handa1997-07-25 07:46:51 +0000
commit71a4b3e854d09ed68b568b2dd8d9166d238ce4f1 (patch)
tree80caccbbd9aa898ecb9335dc6f57c3778231f6c7 /src/process.c
parent70ec4328682c6c69dfa8e379b5e7bc22fef830fa (diff)
downloademacs-71a4b3e854d09ed68b568b2dd8d9166d238ce4f1.tar.gz
emacs-71a4b3e854d09ed68b568b2dd8d9166d238ce4f1.zip
(read_process_output): Use new macro
CODING_REQUIRE_NO_CONVERSION (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files 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)
2748 /* Now set NCHARS how many bytes we must decode. */ 2748 /* Now set NCHARS how many bytes we must decode. */
2749 nchars += coding->carryover_size; 2749 nchars += coding->carryover_size;
2750 2750
2751 if (CODING_REQUIRE_CONVERSION (coding)) 2751 if (! CODING_REQUIRE_NO_CONVERSION (coding))
2752 { 2752 {
2753 int require = decoding_buffer_size (coding, nchars); 2753 int require = decoding_buffer_size (coding, nchars);
2754 int consumed, produced; 2754 int consumed, produced;
@@ -3001,7 +3001,7 @@ send_process (proc, buf, len, object)
3001 error ("Output file descriptor of %s is closed", procname); 3001 error ("Output file descriptor of %s is closed", procname);
3002 3002
3003 coding = proc_encode_coding_system[XINT (XPROCESS (proc)->outfd)]; 3003 coding = proc_encode_coding_system[XINT (XPROCESS (proc)->outfd)];
3004 if (CODING_REQUIRE_CONVERSION (coding)) 3004 if (! CODING_MAY_REQUIRE_NO_CONVERSION (coding))
3005 { 3005 {
3006 int require = encoding_buffer_size (coding, len); 3006 int require = encoding_buffer_size (coding, len);
3007 int offset, dummy; 3007 int offset, dummy;