diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-03-08 06:03:15 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-03-08 06:03:15 +0000 |
commit | fa748c416099ad14fac7a6a632d52f91cdf8c6da (patch) | |
tree | 1c80050f73ca8864d9d7fc0688644580dd2192d8 /secure | |
parent | 9ab299b136d96059e3903cf712eadfd82dddc3ac (diff) | |
download | FreeBSD-src-fa748c416099ad14fac7a6a632d52f91cdf8c6da.zip FreeBSD-src-fa748c416099ad14fac7a6a632d52f91cdf8c6da.tar.gz |
Merge r687-689,691,693-701,720 from libarchive.googlecode.com:
Translate getdate.y into C for portability. Make the get_date()
function easier to test as well:
* Have it accept a time_t "now" to use as a reference so that test
code can verify relative time specifications against known starting
points.
* Set up default date after parsing the string so that we
can use the specified timezone (if any) instead of the local
default. Otherwise, local DST makes it almost impossible to
reliably test time specifications such as "sunday UTC"
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions