(init_sys_modes): Don't set up sigio here if window system.
authorRichard M. Stallman <rms@gnu.org>
Tue, 14 Jun 1994 20:33:44 +0000 (20:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 14 Jun 1994 20:33:44 +0000 (20:33 +0000)
src/sysdep.c

index ddee0b4..cb8ee1c 100644 (file)
@@ -1318,7 +1318,8 @@ init_sys_modes ()
 #ifdef F_SETFL
 #ifndef F_SETOWN_BUG
 #ifdef F_GETOWN                /* F_SETFL does not imply existence of F_GETOWN */
-  if (interrupt_input)
+  if (interrupt_input
+      && ! read_socket_hook && EQ (Vwindow_system, Qnil))
     {
       old_fcntl_owner = fcntl (input_fd, F_GETOWN, 0);
       fcntl (input_fd, F_SETOWN, getpid ());