From: Lars Ingebrigtsen Date: Mon, 1 Feb 2016 00:10:57 +0000 (+0100) Subject: Fix GC problem in async TLS connection X-Git-Tag: emacs-26.0.90~2520^2~47 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8858b2ce88bec90932c06de60b76584352f73bd6;p=emacs.git Fix GC problem in async TLS connection * process.h: All Lisp_Object slots have to come first, otherwise they won't be protected from gc. --- diff --git a/src/process.h b/src/process.h index 95c64fa73b7..828330ba9df 100644 --- a/src/process.h +++ b/src/process.h @@ -106,6 +106,7 @@ struct Lisp_Process #ifdef HAVE_GNUTLS Lisp_Object gnutls_cred_type; + Lisp_Object gnutls_async_parameters; #endif /* Pipe process attached to the standard error of this process. */ @@ -191,7 +192,6 @@ struct Lisp_Process unsigned int gnutls_extra_peer_verification; int gnutls_log_level; int gnutls_handshakes_tried; - Lisp_Object gnutls_async_parameters; bool_bf gnutls_p : 1; #endif };