summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/HashCore.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-04-21 09:07:42 +0200
committerGuillem Jover <guillem@debian.org>2015-05-09 04:55:45 +0200
commit033b2950694fc3fa6d90dca34de1e4f8fa06c934 (patch)
tree407469532849d224241988945975ea10d2675638 /scripts/Dpkg/Control/HashCore.pm
parent7131cdd1dacf12ba9735cc62f0d1691d60e8cc72 (diff)
downloaddpkg-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