* cygwait.h (cancelable_wait): Need to force time to negative to indicate

relative time.
This commit is contained in:
Christopher Faylor 2012-06-25 05:00:39 +00:00
parent 4aebe6cd45
commit d6953d3f7d
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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);