Commit 297a545b authored by Paul Eggert's avatar Paul Eggert

* 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.
parent aa942e2b
2013-08-12 Paul Eggert <eggert@cs.ucla.edu>
* process.c (deactivate_process): Reset fds to -1 (Bug#15035).
This fixes a problem introduced by the Bug#15035 patch
when using GPG. Reported by Herbert J. Skuhra.
2013-08-12 Eli Zaretskii <eliz@gnu.org>
* decompress.c <zlib_initialized> [WINDOWSNT]: New static variable.
......
......@@ -3842,6 +3842,8 @@ deactivate_process (Lisp_Object proc)
if (inchannel >= 0)
{
p->infd = -1;
p->outfd = -1;
#ifdef DATAGRAM_SOCKETS
if (DATAGRAM_CHAN_P (inchannel))
{
......
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