aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-02-01 01:10:57 +0100
committerLars Ingebrigtsen2016-02-01 01:10:57 +0100
commit8858b2ce88bec90932c06de60b76584352f73bd6 (patch)
tree97db153e2b5543cbaf1ba012d31ccd74d013454a /src/process.h
parent4ff81f8fac1270a829bb2725911bf6b614711257 (diff)
downloademacs-8858b2ce88bec90932c06de60b76584352f73bd6.tar.gz
emacs-8858b2ce88bec90932c06de60b76584352f73bd6.zip
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.
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h2
1 files changed, 1 insertions, 1 deletions
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
106 106
107#ifdef HAVE_GNUTLS 107#ifdef HAVE_GNUTLS
108 Lisp_Object gnutls_cred_type; 108 Lisp_Object gnutls_cred_type;
109 Lisp_Object gnutls_async_parameters;
109#endif 110#endif
110 111
111 /* Pipe process attached to the standard error of this process. */ 112 /* Pipe process attached to the standard error of this process. */
@@ -191,7 +192,6 @@ struct Lisp_Process
191 unsigned int gnutls_extra_peer_verification; 192 unsigned int gnutls_extra_peer_verification;
192 int gnutls_log_level; 193 int gnutls_log_level;
193 int gnutls_handshakes_tried; 194 int gnutls_handshakes_tried;
194 Lisp_Object gnutls_async_parameters;
195 bool_bf gnutls_p : 1; 195 bool_bf gnutls_p : 1;
196#endif 196#endif
197}; 197};