Introduce alpm_time_t type
commit5f3629bea0d4beb79c6092086b46f3d73643c76d
authorDan McGee <dan@archlinux.org>
Wed, 7 Sep 2011 15:21:47 +0000 (7 10:21 -0500)
committerDan McGee <dan@archlinux.org>
Wed, 12 Oct 2011 19:01:25 +0000 (12 14:01 -0500)
tree77fec7e0aa39d6bca0309d0043a68d7a9698d237
parent759f435fb91a3abf64a422b53f939a774332cd8a
Introduce alpm_time_t type

This will always be a 64-bit signed integer rather than the variable length
time_t type. Dates beyond 2038 should be fully supported in the library; the
frontend still lags behind because 32-bit platforms provide no localtime64()
or equivalent function to convert from an epoch value to a broken down time
structure.

Signed-off-by: Dan McGee <dan@archlinux.org>
12 files changed:
lib/libalpm/add.c
lib/libalpm/alpm.h
lib/libalpm/be_local.c
lib/libalpm/db.h
lib/libalpm/dload.h
lib/libalpm/package.c
lib/libalpm/package.h
lib/libalpm/util.c
lib/libalpm/util.h
src/pacman/callback.c
src/pacman/package.c
src/pacman/util.c