emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113824: * process.c (deactivate_process): Reset fds


From: Paul Eggert
Subject: [Emacs-diffs] trunk r113824: * process.c (deactivate_process): Reset fds to -1.
Date: Mon, 12 Aug 2013 20:17:35 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113824
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15035
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2013-08-12 13:17:32 -0700
message:
  * 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.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/process.c                  process.c-20091113204419-o5vbwnq5f7feedwu-462
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-08-12 19:48:04 +0000
+++ b/src/ChangeLog     2013-08-12 20:17:32 +0000
@@ -1,3 +1,9 @@
+2013-08-12  Paul Eggert  <address@hidden>
+
+       * 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  <address@hidden>
 
        * decompress.c <zlib_initialized> [WINDOWSNT]: New static variable.

=== modified file 'src/process.c'
--- a/src/process.c     2013-08-12 07:12:07 +0000
+++ b/src/process.c     2013-08-12 20:17:32 +0000
@@ -3842,6 +3842,8 @@
 
   if (inchannel >= 0)
     {
+      p->infd  = -1;
+      p->outfd = -1;
 #ifdef DATAGRAM_SOCKETS
       if (DATAGRAM_CHAN_P (inchannel))
        {


reply via email to

[Prev in Thread] Current Thread [Next in Thread]