[dovecot/core] 2cdf68: lib: test-time-util: Put all test data for timeval...

GitHub noreply at github.com
Wed Feb 7 13:00:35 EET 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 2cdf68be2984a94b4da8dcdf074639df0ea2c5b0
      https://github.com/dovecot/core/commit/2cdf68be2984a94b4da8dcdf074639df0ea2c5b0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lib/test-time-util.c

  Log Message:
  -----------
  lib: test-time-util: Put all test data for timeval_cmp() test in a single struct array.


  Commit: d654e34313662c07aae7ff2f65f74993a7b322b4
      https://github.com/dovecot/core/commit/d654e34313662c07aae7ff2f65f74993a7b322b4
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lib/test-time-util.c
    M src/lib/time-util.c

  Log Message:
  -----------
  lib: time-util: Fix timeval_cmp_margin() to correctly handle a margin crossing the second boundary.

The timeval_cmp_margin() function incorrectly assumed that the margin is
irrelevent when the tv_sec values are different.


Compare: https://github.com/dovecot/core/compare/72c4e3d692ac...d654e3431366


More information about the dovecot-cvs mailing list