changeset 83088:3af83746f912

Fix initialization order at bootstrap (Dan Nicolaescu). src/emacs.c (main): Call init_process before init_display to prevent losing the keyboard on stdin (reported by Dan Nicolaescu). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-128
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 29 Mar 2004 12:05:03 +0000
parents efd88b526bdb
children 38afc630f7a0
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Sun Mar 28 07:15:31 2004 +0000
+++ b/src/emacs.c	Mon Mar 29 12:05:03 2004 +0000
@@ -1578,6 +1578,7 @@
 #endif  /* end #ifdef HAVE_NTGUI */
     }
 
+  init_process (); /* init_display uses add_keyboard_wait_descriptor. */
 #ifndef MAC_OS8
   /* Called before init_window_once for Mac OS Classic.  */
   init_keyboard ();	/* This too must precede init_sys_modes.  */
@@ -1604,7 +1605,6 @@
 #ifdef VMS
   init_vmsfns ();
 #endif /* VMS */
-  init_process ();
 #ifdef HAVE_SOUND
   init_sound ();
 #endif