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>2012-12-19 22:44:40 +0400
committerChristopher Faylor <me@cgf.cx>2012-12-19 22:44:40 +0400
commit63d9f29311c1e12edde8aa28c7b7c00f8433dc49 (patch)
treecd801231f7c0cef8cfade29b9cb9e10de93faed5 /winsup/cygwin
parentfb2b6cb86890a59fcfc7085a0b966f30563990af (diff)
* select.cc (select_stuff::wait): Add windows error number to error message.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/select.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 088d60196..578f7fdd7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-19 Christopher Faylor <me.cygwin2012@cgf.cx>
+
+ * select.cc (select_stuff::wait): Add windows error number to error message.
+
2012-12-18 Christopher Faylor <me.cygwin2012@cgf.cx>
* select.cc (select_stuff::test_and_set): Remove workaround and use
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 2938e2595..5b3920d14 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -394,7 +394,7 @@ next_while:;
}
break;
case WAIT_FAILED:
- system_printf ("WaitForMultipleObjects failed");
+ system_printf ("WaitForMultipleObjects failed, %E");
s = &start;
s->set_select_errno ();
res = select_error;