From 03a6a1e40884426f1fac2c2cda3d8ee234ce5add Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 20 Oct 2014 14:30:35 +0000 Subject: [PATCH] * fhandler_serial.cc: Revert debug code accidentally checked in on 2014-08-18. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_serial.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 609495c42..43c510186 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2014-10-20 Corinna Vinschen + + * fhandler_serial.cc: Revert debug code accidentally checked in on + 2014-08-18. + 2014-10-20 Corinna Vinschen * path.cc (symlink_info::check): Set error from status code if opening diff --git a/winsup/cygwin/fhandler_serial.cc b/winsup/cygwin/fhandler_serial.cc index 4e5d488b4..b6641e5e4 100644 --- a/winsup/cygwin/fhandler_serial.cc +++ b/winsup/cygwin/fhandler_serial.cc @@ -53,7 +53,7 @@ fhandler_serial::raw_read (void *ptr, size_t& ulen) ulen, vmin_, vtime_, io_status.hEvent); if (!overlapped_armed) { - SetCommMask (get_handle (), EV_RXCHAR| EV_ERR | EV_BREAK | EV_CTS | EV_DSR | EV_RING | EV_RLSD | EV_RXFLAG); + SetCommMask (get_handle (), EV_RXCHAR); ResetEvent (io_status.hEvent); }