bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24811: 26.0.50; backtrace


From: Lars Ingebrigtsen
Subject: bug#24811: 26.0.50; backtrace
Date: Tue, 01 Nov 2016 19:54:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> I'm unable to reproduce this problem.  Can you test the following patch
> and see whether it fixes the bug?

I mean:

diff --git a/src/process.c b/src/process.c
index 8cf045c..d7a122f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3082,6 +3082,12 @@ finish_after_tls_connection (Lisp_Object proc)
   Lisp_Object contact = p->childp;
   Lisp_Object result = Qt;
 
+  if (p->outfd < 0) {
+    pset_status (p, Qfailed);
+    deactivate_process (proc);
+    return;
+  }
+
   if (!NILP (Ffboundp (Qnsm_verify_connection)))
     result = call3 (Qnsm_verify_connection,
                    proc,


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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