summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-07-25 07:46:51 +0000
committerKenichi Handa <handa@m17n.org>1997-07-25 07:46:51 +0000
commit5c916810580b7f389095911376585babba7155d7 (patch)
tree74e22e30a73b7c310a34aaf9b0575443f9acab0d
parent085bdc6a2efadba33388af510e6bc40e22283d35 (diff)
downloademacs-5c916810580b7f389095911376585babba7155d7.tar.gz
(read_process_output): Use new macro
CODING_REQUIRE_NO_CONVERSION (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.
-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)
/* 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;