aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index b054839795b..9901d6a089e 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1519,11 +1519,11 @@ reset_sys_modes (struct tty_display_info *tty_out)
1519 if (tty_out->terminal->reset_terminal_modes_hook) 1519 if (tty_out->terminal->reset_terminal_modes_hook)
1520 tty_out->terminal->reset_terminal_modes_hook (tty_out->terminal); 1520 tty_out->terminal->reset_terminal_modes_hook (tty_out->terminal);
1521 1521
1522#ifndef DOS_NT
1523 /* Avoid possible loss of output when changing terminal modes. */ 1522 /* Avoid possible loss of output when changing terminal modes. */
1524 while (tcdrain (fileno (tty_out->output)) != 0 && errno == EINTR) 1523 while (tcdrain (fileno (tty_out->output)) != 0 && errno == EINTR)
1525 continue; 1524 continue;
1526 1525
1526#ifndef DOS_NT
1527# ifdef F_SETOWN 1527# ifdef F_SETOWN
1528 if (interrupt_input) 1528 if (interrupt_input)
1529 { 1529 {