diff options
| author | Paul Eggert | 2014-07-08 10:13:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-07-08 10:13:32 -0700 |
| commit | ef0cc37f8552b30fd48cd4437f8307182533d3db (patch) | |
| tree | 06ae1ace23c959010c002c2d393c9ad68dc4b88e /src/process.c | |
| parent | 5e799349fde90ef1ad9c73261ecdac0a11ef57ff (diff) | |
| download | emacs-ef0cc37f8552b30fd48cd4437f8307182533d3db.tar.gz emacs-ef0cc37f8552b30fd48cd4437f8307182533d3db.zip | |
* process.c (read_and_dispose_of_process_output): Fix typo
in previous patch: we want nonnegative fds, not nonzero fds.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index d1b14533c99..4449493a2b6 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5134,7 +5134,7 @@ read_and_dispose_of_process_output (struct Lisp_Process *p, char *chars, | |||
| 5134 | proc_encode_coding_system[p->outfd] surely points to a | 5134 | proc_encode_coding_system[p->outfd] surely points to a |
| 5135 | valid memory because p->outfd will be changed once EOF is | 5135 | valid memory because p->outfd will be changed once EOF is |
| 5136 | sent to the process. */ | 5136 | sent to the process. */ |
| 5137 | if (NILP (p->encode_coding_system) && p->outfd | 5137 | if (NILP (p->encode_coding_system) && p->outfd >= 0 |
| 5138 | && proc_encode_coding_system[p->outfd]) | 5138 | && proc_encode_coding_system[p->outfd]) |
| 5139 | { | 5139 | { |
| 5140 | pset_encode_coding_system | 5140 | pset_encode_coding_system |