From: Juanma Barranquero Date: Fri, 30 Jan 2009 18:01:40 +0000 (+0000) Subject: * w32inevt.c (w32_console_read_socket) [SYNC_INPUT]: X-Git-Tag: emacs-pretest-23.0.90~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8984df7cbdf0349d40c9f1976eec1c01d9fbb3c2;p=emacs.git * w32inevt.c (w32_console_read_socket) [SYNC_INPUT]: * w32term.c (w32_read_socket) [SYNC_INPUT]: Remove; this code is not used on Windows. --- diff --git a/src/ChangeLog b/src/ChangeLog index f86e3c5afd4..1ab6abe40c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2009-01-30 Juanma Barranquero + + * 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 * coding.c (detect_eol, decode_eol): Handle text with DOS-style diff --git a/src/w32inevt.c b/src/w32inevt.c index 7552ff17bb9..ac7ca644c54 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -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 (;;) diff --git a/src/w32term.c b/src/w32term.c index 6e2f9ffa4dc..7ad7778feaa 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -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. */