Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-12-20 08:57:59 +0300
committerChristopher Faylor <me@cgf.cx>2000-12-20 08:57:59 +0300
commit2bfdcd8a5f94fd126997796f61b56a09a96820e6 (patch)
tree4d365c16f8934a361b388ad3c32f16dba73f9c0e /winsup/cygwin/exceptions.cc
parentb92b863bbf9331a2b069d8fcc96686b8da3bf2eb (diff)
* fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytes
ready to be read whether overlapped_armed or not.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index d30eb32db..6e27f1098 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1072,8 +1072,8 @@ events_terminate (void)
#define pid_offset (unsigned)(((_pinfo *)NULL)->pid)
extern "C" {
-static void __stdcall reset_signal_arrived () __attribute__ ((unused));
-static void __stdcall
+static void volatile __stdcall reset_signal_arrived () __attribute__ ((unused));
+static void volatile __stdcall
reset_signal_arrived ()
{
(void) ResetEvent (signal_arrived);