CVS: rdesktop serial.c,1.24,1.25
Michael Gernoth <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1812 Modified Files: serial.c Log Message: define TIOCOUTQ to FIONWRITE if it's not already defined remove XCASE from temios c_lflag because it's deprecated Index: serial.c =================================================================== RCS file: /cvsroot/rdesktop/rdesktop/serial.c,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** serial.c 23 Nov 2004 13:29:12 -0000 1.24 --- serial.c 10 Jan 2005 21:54:47 -0000 1.25 *************** *** 125,128 **** --- 125,131 ---- #define TIOCINQ FIONREAD #endif + #ifndef TIOCOUTQ + #define TIOCOUTQ FIONWRITE + #endif extern RDPDR_DEVICE g_rdpdr_device[]; *************** *** 566,570 **** ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); pser_inf->ptermios->c_oflag &= ~OPOST; ! pser_inf->ptermios->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN | XCASE); pser_inf->ptermios->c_cflag &= ~(CSIZE | PARENB); pser_inf->ptermios->c_cflag |= CS8; --- 569,573 ---- ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); pser_inf->ptermios->c_oflag &= ~OPOST; ! pser_inf->ptermios->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); pser_inf->ptermios->c_cflag &= ~(CSIZE | PARENB); pser_inf->ptermios->c_cflag |= CS8; ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt