Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/ldapns.schema
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-09-01 15:22:56 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-09-02 23:13:01 +0200
commit7895739cfec05b5edb9eff8c8673803fcdf9ed75 (patch)
tree60429921eb0adfbb77a1453336606a542be4648b /ldapns.schema
parenta683aa8c7266e7851ca571b8705476268b8e9314 (diff)
Use clock_gettime() instead of gettimeofday()
This avoids problems with system clock changes (though there are some safeguards in place to avoid waiting too long on clock changes). Thanks to John Sullivan for pointing this out. We can't easily use CLOCK_MONOTONIC_RAW or CLOCK_MONOTONIC_COARSE even on platforms that define the clock because we can get runtime errors. CLOCK_MONOTONIC seems to work on all tested platforms that provide it.
Diffstat (limited to 'ldapns.schema')
0 files changed, 0 insertions, 0 deletions