Mercurial > emacs
comparison src/process.c @ 21530:be8599b6636a
(read_process_output): Fix mixing of Lisp_Object and
int.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Tue, 14 Apr 1998 13:05:38 +0000 |
parents | fa9ff387d260 |
children | bb39a5863a82 |
comparison
equal
deleted
inserted
replaced
21529:8c50610fbb99 | 21530:be8599b6636a |
---|---|
2826 But, before doing that we must check if | 2826 But, before doing that we must check if |
2827 proc_encode_coding_system[p->outfd] surely points to a | 2827 proc_encode_coding_system[p->outfd] surely points to a |
2828 valid memory because p->outfd will be changed once EOF is | 2828 valid memory because p->outfd will be changed once EOF is |
2829 sent to the process. */ | 2829 sent to the process. */ |
2830 if (NILP (p->encode_coding_system) | 2830 if (NILP (p->encode_coding_system) |
2831 && proc_encode_coding_system[p->outfd]) | 2831 && proc_encode_coding_system[XINT (p->outfd)]) |
2832 { | 2832 { |
2833 p->encode_coding_system = coding->symbol; | 2833 p->encode_coding_system = coding->symbol; |
2834 setup_coding_system (coding->symbol, | 2834 setup_coding_system (coding->symbol, |
2835 proc_encode_coding_system[p->outfd]); | 2835 proc_encode_coding_system[XINT (p->outfd)]); |
2836 } | 2836 } |
2837 } | 2837 } |
2838 | 2838 |
2839 #ifdef VMS | 2839 #ifdef VMS |
2840 /* Now we don't need the contents of `chars'. */ | 2840 /* Now we don't need the contents of `chars'. */ |