1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

* 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.
This commit is contained in:
Paul Eggert 2013-08-12 13:17:32 -07:00
parent aa942e2bf4
commit 297a545bb4
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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))
{