[dovecot/core] 7dc18d: lib: test-time-util: Put all test data for timeval...
GitHub
noreply at github.com
Wed Feb 7 13:00:51 EET 2018
Branch: refs/heads/master-2.3
Home: https://github.com/dovecot/core
Commit: 7dc18d39a286ada9da8718ed154884ba11fe3c72
https://github.com/dovecot/core/commit/7dc18d39a286ada9da8718ed154884ba11fe3c72
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: a2577af866e2587393c594bfcc812bc7b23eeb15
https://github.com/dovecot/core/commit/a2577af866e2587393c594bfcc812bc7b23eeb15
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/daaf2a6963f1...a2577af866e2
More information about the dovecot-cvs
mailing list