diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a918759da..0ab179e91 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2012-03-27 Corinna Vinschen + + * times.cc (clock_setres): Revert previous change. + 2012-03-26 Corinna Vinschen * fhandler.h (class fhandler_dev_clipboard): Add fstat method. diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 051be82ba..a94911b08 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -823,10 +823,7 @@ clock_setres (clockid_t clk_id, struct timespec *tp) __seterrno_from_nt_status (status); return -1; } - /* The actual resolution of the OS timer is a system-wide setting which - can be changed any time, by any process. The only fixed value we can - rely on is the coarsest value. */ - minperiod = coarsest; + minperiod = actual; period_set = true; return 0; }