patch-2.2.15 linux/drivers/char/tty_ioctl.c
Next file: linux/drivers/char/videodev.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Apr 21 12:46:07 2000
- Orig file:
v2.2.14/drivers/char/tty_ioctl.c
- Orig date:
Tue Jan 19 18:12:05 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/char/tty_ioctl.c linux/drivers/char/tty_ioctl.c
@@ -113,8 +113,11 @@
}
sti();
if (canon_change && !L_ICANON(tty) && tty->read_cnt)
+ {
/* Get characters left over from canonical mode. */
wake_up_interruptible(&tty->read_wait);
+ wake_up_interruptible(&tty->poll_wait);
+ }
/* see if packet mode change of state */
@@ -132,6 +135,7 @@
else
tty->ctrl_status |= TIOCPKT_NOSTOP;
wake_up_interruptible(&tty->link->read_wait);
+ wake_up_interruptible(&tty->link->poll_wait);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)