summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-06-28 13:41:39 -0400
committerAllan McRae <allan@archlinux.org>2014-06-29 11:14:42 +1000
commite0a7682607256ef24b5d2d58212c4b958cce0dce (patch)
tree88e95da6a82dbe91e970ac6830c6543578812a18 /lib/libalpm/db.c
parente05fd5e060cf5a4a71d5d8a65db7b39876d67726 (diff)
downloadpacman-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 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions