]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Remove the unused "initialized" field from struct ptimer.
[wget] / src / ChangeLog
index bddaa88c72e0a57de764725f922fbb583d1d9ec9..aece8bee4397f3115b60426b069f4bfe933cdaa2 100644 (file)
@@ -1,5 +1,36 @@
 2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
 
+       * ptimer.c (struct ptimer): Remove the unused initialized field.
+
+       * ptimer.c: Renamed function parameters from WT (which used to
+       stand for wget_timer or wtimer) to PT.
+
+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.