* cygwait.h (cancelable_wait): Need to force time to negative to indicate
relative time.
This commit is contained in:
parent
4aebe6cd45
commit
d6953d3f7d
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue