diff options
author | Guillem Jover <guillem@debian.org> | 2015-04-21 09:07:42 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-05-09 04:55:45 +0200 |
commit | 033b2950694fc3fa6d90dca34de1e4f8fa06c934 (patch) | |
tree | 407469532849d224241988945975ea10d2675638 /scripts/Dpkg/Control/HashCore.pm | |
parent | 7131cdd1dacf12ba9735cc62f0d1691d60e8cc72 (diff) | |
download | dpkg-033b2950694fc3fa6d90dca34de1e4f8fa06c934.tar.gz |
s-s-d: Switch to use a monotonic clock if available
Use clock_gettime(CLOCK_MONOTONIC) if available instead of
gettimeofday() which gets affected by abrupt system clock changes, and
might mess with the timeout calculations.
Closes: #783014
Suggested-by: Jose M Calhariz <jose.calhariz@hds.com>
Diffstat (limited to 'scripts/Dpkg/Control/HashCore.pm')
0 files changed, 0 insertions, 0 deletions