From: Dan Nicolaescu Date: Sun, 3 Oct 2010 14:43:17 +0000 (-0700) Subject: * src/sysdep.c (flush_pending_output): Remove code, does not do X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~215 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9de940b59e37677d7347532b98c63f92aa74ec0c;p=emacs.git * src/sysdep.c (flush_pending_output): Remove code, does not do anything on any platform. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2ec9f2900f7..ebec6b3ce82 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-10-03 Dan Nicolaescu + * sysdep.c (flush_pending_output): Remove code, does not do + anything on any platform. + Remove unused code. * sysdep.c (select_alarm, sys_select, read_input_waiting): Remove select emulation, all systems support select. 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