Date: Sun, 8 Mar 2009 06:03:15 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/tar Makefile bsdtar.c getdate.c getdate.y src/usr.bin/tar/test Makefile test_getdate.c Message-ID: <200903080603.n2863XcV076024@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2009-03-08 06:03:15 UTC
FreeBSD src repository
Modified files:
usr.bin/tar Makefile bsdtar.c
usr.bin/tar/test Makefile test_getdate.c
Added files:
usr.bin/tar getdate.c
Removed files:
usr.bin/tar getdate.y
Log:
SVN rev 189521 on 2009-03-08 06:03:15Z by kientzle
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"
Revision Changes Path
1.41 +1 -1 src/usr.bin/tar/Makefile
1.95 +6 -3 src/usr.bin/tar/bsdtar.c
1.1 +1050 -0 src/usr.bin/tar/getdate.c (new)
1.11 +0 -815 src/usr.bin/tar/getdate.y (dead)
1.7 +1 -1 src/usr.bin/tar/test/Makefile
1.3 +44 -2 src/usr.bin/tar/test/test_getdate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903080603.n2863XcV076024>
