summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-10-03 07:43:17 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-10-03 07:43:17 -0700
commit4b966749fe34b4ab2e52e0c055a918aa08b4411b (patch)
treed0e4d25b930a3dd55c496beab7fa67be75de3628 /src/sysdep.c
parent3eb5d5ac265bca9e5d0b9dc58e1f7f67fe51d571 (diff)
downloademacs-4b966749fe34b4ab2e52e0c055a918aa08b4411b.tar.gz
* src/sysdep.c (flush_pending_output): Remove code, does not do
anything on any platform.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 091b1b1e513..027ebef9576 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -363,22 +363,7 @@ wait_for_termination (int pid)
void
flush_pending_output (int channel)
{
-#ifndef DOS_NT
- /* If we try this, we get hit with SIGTTIN, because
- the child's tty belongs to the child's pgrp. */
-#else
-#ifdef TCFLSH
- ioctl (channel, TCFLSH, 1);
-#else
-#ifdef TIOCFLUSH
- int zero = 0;
- /* 3rd arg should be ignored
- but some 4.2 kernels actually want the address of an int
- and nonzero means something different. */
- ioctl (channel, TIOCFLUSH, &zero);
-#endif
-#endif
-#endif
+ /* FIXME: maybe this function should be removed */
}
/* Set up the terminal at the other end of a pseudo-terminal that