Commit ef0cc37f authored by Paul Eggert's avatar Paul Eggert
Browse files

* process.c (read_and_dispose_of_process_output): Fix typo

in previous patch: we want nonnegative fds, not nonzero fds.
parent 5e799349
2014-07-08 Paul Eggert <eggert@cs.ucla.edu>
* process.c (read_and_dispose_of_process_output): Fix typo
in previous patch: we want nonnegative fds, not nonzero fds.
2014-07-08 Dmitry Antipov <dmantipov@yandex.ru>
* chartab.c (char_table_translate): Move to...
......
......@@ -5134,7 +5134,7 @@ read_and_dispose_of_process_output (struct Lisp_Process *p, char *chars,
proc_encode_coding_system[p->outfd] surely points to a
valid memory because p->outfd will be changed once EOF is
sent to the process. */
if (NILP (p->encode_coding_system) && p->outfd
if (NILP (p->encode_coding_system) && p->outfd >= 0
&& proc_encode_coding_system[p->outfd])
{
pset_encode_coding_system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment