]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Better selection of POSIX clocks.
[wget] / src / ChangeLog
index 8242627cff50bee3525be31bfd055503f83e1b35..01fcb962a76519a317da7c527d8f0fb5831d059a 100644 (file)
@@ -1,3 +1,38 @@
+2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ptimer.c (posix_init): Be smarter about choosing clocks.  In
+       decreasing order of preference, use CLOCK_MONOTONIC,
+       CLOCK_HIGHRES, and CLOCK_REALTIME.
+       (ptimer_allocate): Removed.
+
+       * ptimer.c: Refactor the code by cleanly separating the
+       architecture-dependent code from the architecture-independent
+       code.
+
+2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ptimer.c (ptimer_init): Explicitly check that
+       _POSIX_MONOTONIC_CLOCK is *both* defined and >=0.  (Undefined
+       symbols are >=0.)
+
+2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ptimer.c (ptimer_diff): Fix typo affecting Windows build.
+
+2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ptimer.c (ptimer_init): In fact, _POSIX_MONOTONIC_CLOCK needs to
+       be >= 0.
+
+       * ptimer.c (ptimer_init): Check whether _POSIX_MONOTONIC_CLOCK is
+       defined instead of whether it's greater than 0.  glibc defines it
+       to 0, but still makes it available via sysconf.
+
+2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * mswindows.c (str_to_int64): Rename OVERFLOW and UNDERFLOW to
+       INT64_OVERFLOW and INT64_UNDERFLOW, since those names are used.
+
 2005-04-07  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * ptimer.c: New file.  Move the "wtimer" functions from utils.c to