diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-06-28 13:41:39 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-06-29 11:14:42 +1000 |
commit | e0a7682607256ef24b5d2d58212c4b958cce0dce (patch) | |
tree | 88e95da6a82dbe91e970ac6830c6543578812a18 /proto | |
parent | e05fd5e060cf5a4a71d5d8a65db7b39876d67726 (diff) | |
download | pacman-e0a7682607256ef24b5d2d58212c4b958cce0dce.tar.xz |
use monotonic clock for progress updates
gettimeofday is susceptible to backwards system time adjustments,
skewing or altogether breaking progress output. For the sake of
platforms that lack clock_gettime support, gettimeofday is retained as
a fallback.
Fixes FS#36983
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'proto')
0 files changed, 0 insertions, 0 deletions