Backed out the FIOASYNC fix in rev.1.108. fcntl(fd, F_SETFL, flags)

depends on the bug.  It does an FIOASYNC ioctl to sync the setting
of the O_ASYNC "file" flag with drivers even if the setting hasn't
changed.

PR:		9003
This commit is contained in:
Bruce Evans 1998-12-08 10:22:07 +00:00
parent d021dab50a
commit e1501bb6eb

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)tty.c 8.8 (Berkeley) 1/21/94
* $Id: tty.c,v 1.108 1998/11/22 09:04:09 bde Exp $
* $Id: tty.c,v 1.109 1998/12/07 07:59:20 ache Exp $
*/
/*-
@ -706,7 +706,6 @@ ttioctl(tp, cmd, data, flag)
/* If the ioctl involves modification, hang if in the background. */
switch (cmd) {
case FIOASYNC:
case TIOCCBRK:
case TIOCCONS:
case TIOCDRAIN: