diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 76af83876..8c1c2877b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-07-19 Christopher Faylor + + * fhandler_serial.cc (fhandler_serial::tcflush): Fix typo. + 2002-07-15 Corinna Vinschen * security.cc (get_group_sidlist): Fix formatting. diff --git a/winsup/cygwin/fhandler_serial.cc b/winsup/cygwin/fhandler_serial.cc index e63de26d3..b5816a858 100644 --- a/winsup/cygwin/fhandler_serial.cc +++ b/winsup/cygwin/fhandler_serial.cc @@ -365,7 +365,7 @@ fhandler_serial::tcflush (int queue) if (queue == TCOFLUSH || queue == TCIOFLUSH) PurgeComm (get_handle (), PURGE_TXABORT | PURGE_TXCLEAR); - if (queue == TCIFLUSH | queue == TCIOFLUSH) + if (queue == TCIFLUSH || queue == TCIOFLUSH) /* Input flushing by polling until nothing turns up (we stop after 1000 chars anyway) */ for (int max = 1000; max > 0; max--)