[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101759: * src/sysdep.c (flush_pendin
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101759: * src/sysdep.c (flush_pending_output): Remove code, does not do |
Date: |
Sun, 03 Oct 2010 07:43:17 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101759
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Sun 2010-10-03 07:43:17 -0700
message:
* src/sysdep.c (flush_pending_output): Remove code, does not do
anything on any platform.
modified:
src/ChangeLog
src/sysdep.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-10-03 14:16:48 +0000
+++ b/src/ChangeLog 2010-10-03 14:43:17 +0000
@@ -1,5 +1,8 @@
2010-10-03 Dan Nicolaescu <address@hidden>
+ * 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.
=== modified file 'src/sysdep.c'
--- a/src/sysdep.c 2010-10-03 14:16:48 +0000
+++ b/src/sysdep.c 2010-10-03 14:43:17 +0000
@@ -363,22 +363,7 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101759: * src/sysdep.c (flush_pending_output): Remove code, does not do,
Dan Nicolaescu <=