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-06-25 09:00:39 +0400
committerChristopher Faylor <me@cgf.cx>2012-06-25 09:00:39 +0400
commitd6953d3f7d4753246e1aa1a36146fa22233af02b (patch)
tree780d44a78107500ee93bd496e1445b89c606b35f
parent4aebe6cd45212539d2710c169c8a44ab9729e815 (diff)
* cygwait.h (cancelable_wait): Need to force time to negative to indicate
relative time.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/cygwait.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 384171000..912d44f7f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-25 Christopher Faylor <me.cygwin2012@cgf.cx>
+
+ * cygwait.h (cancelable_wait): Need to force time to negative to
+ indicate relative time.
+
2012-06-21 Corinna Vinschen <corinna@vinschen.de>
* path.cc (realpath): Fix comment.
diff --git a/winsup/cygwin/cygwait.h b/winsup/cygwin/cygwait.h
index 9a49be7ff..6a004626e 100644
--- a/winsup/cygwin/cygwait.h
+++ b/winsup/cygwin/cygwait.h
@@ -38,7 +38,7 @@ cancelable_wait (HANDLE h, DWORD howlong, unsigned mask)
pli_howlong = NULL;
else
{
- li_howlong.QuadPart = 10000ULL * howlong;
+ li_howlong.QuadPart = -(10000ULL * howlong);
pli_howlong = &li_howlong;
}
return cancelable_wait (h, pli_howlong, mask);