serial purge bug in rdesktop 1.6.0

Mia Lueng <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
                case SERIAL_PURGE:
                        in_uint32(in, purge_mask);
                        DEBUG_SERIAL(("serial_ioctl -> SERIAL_PURGE
purge_mask %X\n", purge_mask));
                        flush_mask = 0;
                        if (purge_mask & SERIAL_PURGE_TXCLEAR)
                                flush_mask |= TCOFLUSH;
                        if (purge_mask & SERIAL_PURGE_RXCLEAR)
                                flush_mask |= TCIFLUSH;
                        if (flush_mask != 0)
                                tcflush(handle, flush_mask);
                        if (purge_mask & SERIAL_PURGE_TXABORT)
                                rdpdr_abort_io(handle, 4,
RD_STATUS_CANCELLED);
                        if (purge_mask & SERIAL_PURGE_RXABORT)
                                rdpdr_abort_io(handle, 3,
RD_STATUS_CANCELLED);
                        break;

In this section , TCIFLUSH is defiend to 0, so tciflush will never be
reached when doing TCIFLUSH operation.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
rdesktop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.