]> sourceware.org Git - newlib-cygwin.git/commitdiff
* times.cc (clock_setres): Set minperiod to period.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 28 Mar 2012 07:38:35 +0000 (07:38 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 28 Mar 2012 07:38:35 +0000 (07:38 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/times.cc

index 30fde01e3a2b93a8b40ce24873b4f4b65b6d189d..e9a13f3d74972126ee35743ce4b17509a8f7d7b9 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-28  Corinna Vinschen  <corinna@vinschen.de>
+
+       * times.cc (clock_setres): Set minperiod to period.
+
 2012-03-27  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler_process.cc (process_tab): Add entry for mountinfo.
index a94911b08a67d247491aa13001e7f32d8e08d9c6..e694d68758797e6e3ab2c3e45cceeec6c7944407 100644 (file)
@@ -823,7 +823,7 @@ clock_setres (clockid_t clk_id, struct timespec *tp)
       __seterrno_from_nt_status (status);
       return -1;
     }
-  minperiod = actual;
+  minperiod = period;
   period_set = true;
   return 0;
 }
This page took 0.033256 seconds and 5 git commands to generate.