1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

* w32inevt.c (w32_console_read_socket) [SYNC_INPUT]:

* w32term.c (w32_read_socket) [SYNC_INPUT]:
  Remove; this code is not used on Windows.
This commit is contained in:
Juanma Barranquero 2009-01-30 18:01:40 +00:00
parent 805b5d9ccf
commit 8984df7cbd
3 changed files with 6 additions and 12 deletions

View 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

View 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 (;;)

View 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. */