]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_process_output): Index for
authorKenichi Handa <handa@m17n.org>
Mon, 1 Sep 1997 07:15:46 +0000 (07:15 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 1 Sep 1997 07:15:46 +0000 (07:15 +0000)
proc_encode_coding_system should be p->outfd (not `channel' which
is p->infd).

src/process.c

index c5d291bec8ecd00b41751681c075c8a4f6bff265..7d84a7ce74cafbd6877cc3d2cfa03740afaf2613 100644 (file)
@@ -2775,7 +2775,7 @@ read_process_output (proc, channel)
            {
              p->encode_coding_system = coding->symbol;
              setup_coding_system (coding->symbol,
-                                  proc_encode_coding_system[channel]);
+                                  proc_encode_coding_system[p->outfd]);
            }
        }
 #ifdef VMS