Mail Archives: cygwin-developers/1998/11/30/16:26:46
Hello,
As in the last patch to fhandler_console, I've added missing
ioctl commands by calling the correspondig tcsetattr() calls.
Bye,
Corinna
ChangeLog:
----------
* fhandler_tty.cc (fhandler_tty_slave::ioctl):
Added ioctl commands TCSETAW, TCSETAF.
Index: fhandler_tty.cc
===================================================================
RCS file: /src/cvsroot/winsup-981126/fhandler_tty.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- fhandler_tty.cc 1998/11/26 22:14:35 1.1
+++ fhandler_tty.cc 1998/11/30 23:54:55 1.2
@@ -1028,6 +1028,10 @@ fhandler_tty_slave::ioctl (unsigned int
return tcgetattr ((struct termios *) arg);
case TCSETA:
return tcsetattr (TCSANOW, (struct termios *) arg);
+ case TCSETAW:
+ return tcsetattr (TCSADRAIN, (struct termios *) arg);
+ case TCSETAF:
+ return tcsetattr (TCSAFLUSH, (struct termios *) arg);
case FIONBIO:
if (* (int *) arg)
set_flags (get_flags () | O_NONBLOCK);
- Raw text -