all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Crash at startup in Cygwin w32 build on emacs-25 branch
@ 2015-11-27  0:13 Andy Moreton
  2015-11-27  8:03 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Moreton @ 2015-11-27  0:13 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eli Zaretskii


The changes in commit d696d62fea48 cause an instant crash at startup for
the cygwin w32 build, as the main Windows thread ID is not initialized.
The following patch fixes it.

diff --git a/src/emacs.c b/src/emacs.c
index c411da6a5da8..48ff20a11ce4 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -760,11 +760,11 @@ main (int argc, char **argv)
      to have non-stub implementations of APIs we need to convert file
      names between UTF-8 and the system's ANSI codepage.  */
   maybe_load_unicows_dll ();
+#endif
   /* This has to be done before module_init is called below, so that
      the latter could use the thread ID of the main thread.  */
   w32_init_main_thread ();
 #endif
-#endif

 #ifdef RUN_TIME_REMAP
   if (initialized)




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-28 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27  0:13 Crash at startup in Cygwin w32 build on emacs-25 branch Andy Moreton
2015-11-27  8:03 ` Eli Zaretskii
2015-11-27 23:44   ` Andy Moreton
2015-11-28  8:18     ` Eli Zaretskii
2015-11-28 21:18       ` Andy Moreton

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.