# HG changeset patch # User Kenichi Handa # Date 1026173543 0 # Node ID b1e78489c54090e93cda88f6421da70f95360b1e # Parent e995615b440a98307b06654863108c1f36372878 (Fcall_process): Fix previous change. diff -r e995615b440a -r b1e78489c540 src/callproc.c --- a/src/callproc.c Mon Jul 08 22:32:35 2002 +0000 +++ b/src/callproc.c Tue Jul 09 00:12:23 2002 +0000 @@ -787,7 +787,12 @@ size = decoding_buffer_size (&process_coding, nread); decoding_buf = (char *) xmalloc (size); - if (CODING_REQUIRE_DETECTION (&process_coding)) + /* We can't use the macro CODING_REQUIRE_DETECTION + because it always returns nonzero if the coding + system requires EOL detection. Here, we have to + check only whether or not the coding system + requires text-encoding detection. */ + if (process_coding.type == coding_type_undecided) { detect_coding (&process_coding, bufptr, nread); if (process_coding.composing != COMPOSITION_DISABLED)