* w32inevt.c (w32_console_read_socket) [SYNC_INPUT]:
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 30 Jan 2009 18:01:40 +0000 (18:01 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 30 Jan 2009 18:01:40 +0000 (18:01 +0000)
* w32term.c (w32_read_socket) [SYNC_INPUT]:
  Remove; this code is not used on Windows.

src/ChangeLog
src/w32inevt.c
src/w32term.c

index f86e3c5..1ab6abe 100644 (file)
@@ -1,3 +1,9 @@
+2009-01-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32inevt.c (w32_console_read_socket) [SYNC_INPUT]:
+       * w32term.c (w32_read_socket) [SYNC_INPUT]:
+       Remove; this code is not used on Windows.
+
 2009-01-30  Eli Zaretskii  <eliz@gnu.org>
 
        * coding.c (detect_eol, decode_eol): Handle text with DOS-style
index 7552ff1..ac7ca64 100644 (file)
@@ -651,16 +651,10 @@ w32_console_read_socket (struct terminal *terminal,
   if (interrupt_input_blocked)
     {
       interrupt_input_pending = 1;
-#ifdef SYNC_INPUT
-      pending_signals = 1;
-#endif
       return -1;
     }
 
   interrupt_input_pending = 0;
-#ifdef SYNC_INPUT
-  pending_signals = pending_atimers;
-#endif
   BLOCK_INPUT;
 
   for (;;)
index 6e2f9ff..7ad7778 100644 (file)
@@ -4078,16 +4078,10 @@ w32_read_socket (sd, expected, hold_quit)
   if (interrupt_input_blocked)
     {
       interrupt_input_pending = 1;
-#ifdef SYNC_INPUT
-      pending_signals = 1;
-#endif
       return -1;
     }
 
   interrupt_input_pending = 0;
-#ifdef SYNC_INPUT
-  pending_signals = pending_atimers;
-#endif
   BLOCK_INPUT;
 
   /* So people can tell when we have read the available input.  */