diff options
| author | Paul Eggert | 2013-08-12 13:17:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-08-12 13:17:32 -0700 |
| commit | 297a545bb4482efe73456afa4a7d5aae67fd0fdb (patch) | |
| tree | 110fcb4acae5cecbe949b022254ef0c917c74455 /src/process.c | |
| parent | aa942e2bf4545365d7fb7e9d787e4a21642fbf4c (diff) | |
| download | emacs-297a545bb4482efe73456afa4a7d5aae67fd0fdb.tar.gz emacs-297a545bb4482efe73456afa4a7d5aae67fd0fdb.zip | |
* process.c (deactivate_process): Reset fds to -1.
This fixes a problem introduced by the Bug#15035 patch
when using GPG. Reported by Herbert J. Skuhra.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index a2bcffe5160..c803d69d6d8 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3842,6 +3842,8 @@ deactivate_process (Lisp_Object proc) | |||
| 3842 | 3842 | ||
| 3843 | if (inchannel >= 0) | 3843 | if (inchannel >= 0) |
| 3844 | { | 3844 | { |
| 3845 | p->infd = -1; | ||
| 3846 | p->outfd = -1; | ||
| 3845 | #ifdef DATAGRAM_SOCKETS | 3847 | #ifdef DATAGRAM_SOCKETS |
| 3846 | if (DATAGRAM_CHAN_P (inchannel)) | 3848 | if (DATAGRAM_CHAN_P (inchannel)) |
| 3847 | { | 3849 | { |