diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-27 23:33:30 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-27 23:33:30 +0000 |
commit | 491110627f5515bf3d1ecdb42b1dabf7c53f116b (patch) | |
tree | 1409694d9daf0a978602c523b77a5b8b5c3400c6 /winsup/cygwin/signal.cc | |
parent | c4a2d2f3e1e38585685c1bf1c50835fd3424af38 (diff) | |
download | newlib-491110627f5515bf3d1ecdb42b1dabf7c53f116b.zip newlib-491110627f5515bf3d1ecdb42b1dabf7c53f116b.tar.gz newlib-491110627f5515bf3d1ecdb42b1dabf7c53f116b.tar.bz2 |
* times.cc (hires_ms::usecs): Compare the difference.
* hires.h: Add parentheses to HIRES_DELAY_MAX.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r-- | winsup/cygwin/signal.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 41b4831..1808b24 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); |