1. 06 Jul, 2001 7 commits
  2. 21 Jun, 2001 1 commit
  3. 04 Jun, 2001 1 commit
  4. 09 Jan, 2001 1 commit
  5. 20 Sep, 2000 1 commit
  6. 01 Aug, 2000 1 commit
  7. 27 Jul, 2000 1 commit
  8. 30 Jun, 2000 1 commit
  9. 22 Jun, 2000 1 commit
  10. 21 Jun, 2000 2 commits
  11. 20 Jun, 2000 2 commits
  12. 18 May, 2000 1 commit
    • David Lawrence's avatar
      189. [func] isc_time_secondsastimet(), a new function, will ensure · 6fa1cb57
      David Lawrence authored
                              that the number of seconds in an isc_time_t does not
                              exceed the range of a time_t, or return ISC_R_RANGE.
                              Similarly, isc_time_now(), isc_time_nowplusinterval(),
                              isc_time_add() and isc_time_subtract() now check the
                              range for overflow/underflow.  In the case of
                              isc_time_subtract, this changed a calling requirement
                              (ie, something that could generate an assertion)
                              into merely a condition that returns an error result.
                              isc_time_add() and isc_time_subtract() were void-
                              valued before but now return isc_result_t.
      
      The seconds member isc_time_t on Unix platforms was changed from time_t
      to unsigned int.
      
      unix/time.c now uses macros for nanoseconds per second, nanoseconds per
      microsecond and microseconds per second to make sure that the right
      number of zeros appears each place the constant is used.
      
      unix/time.c functions which take initialized isc_(interval|time)_t arguments
      INSIST() that the nanoseconds value is less than one full second.
      
      unix/time.c's isc_time_microdiff was broken because it did multiplication and
      addition with unsigned integers and attempted to set them a 64 bit int to
      avoid overflow, but C's ints don't promote to 64 bits on machines that only
      have 32 bit longs.  Fixed.
      
      Added all the pertinent documentation to time.h.
      6fa1cb57
  13. 09 May, 2000 1 commit
  14. 28 Apr, 2000 9 commits
  15. 26 Apr, 2000 1 commit
  16. 25 Apr, 2000 2 commits
  17. 24 Apr, 2000 5 commits
  18. 10 Mar, 2000 1 commit
  19. 03 Feb, 2000 1 commit