From 491110627f5515bf3d1ecdb42b1dabf7c53f116b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 27 Mar 2005 23:33:30 +0000 Subject: * times.cc (hires_ms::usecs): Compare the difference. * hires.h: Add parentheses to HIRES_DELAY_MAX. --- winsup/cygwin/signal.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'winsup/cygwin/signal.cc') diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 41b48313f..1808b2428 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -77,7 +77,6 @@ nanosleep (const struct timespec *rqtp, struct timespec *rmtp) pthread_testcancel (); if ((unsigned int) rqtp->tv_sec > (HIRES_DELAY_MAX / 1000 - 1) - || rqtp->tv_sec < 0 || (unsigned int) rqtp->tv_nsec > 999999999) { set_errno (EINVAL); -- cgit v1.2.3