Date: Sat, 29 Nov 2008 20:22:02 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/cpio cpio.c cpio.h src/usr.bin/cpio/test test_option_tv.stdout.uu Message-ID: <200811292022.mATKMK4t092438@repoman.freebsd.org>
index | next in thread | raw e-mail
kientzle 2008-11-29 20:22:02 UTC
FreeBSD src repository
Modified files:
usr.bin/cpio cpio.c cpio.h
usr.bin/cpio/test test_option_tv.stdout.uu
Log:
SVN rev 185452 on 2008-11-29 20:22:02Z by kientzle
Format the output of -itv for real. In particular:
* Lookup uname/gname if not provided by the archive (I copied the
uname/gname lookup cache from bsdtar)
* Format device number instead of size for device nodes
* Format date.
There's still a few improvements that I could copy from
bsdtar, especially the locale-aware safe_fprintf() code
and the locale-aware setup for day_first date formatting.
(And, of course, I need to think through a clean way to
push this stuff down into libarchive.)
Thanks to Peter Wemm for reminding me of this overlooked TODO item.
Revision Changes Path
1.14 +219 -12 src/usr.bin/cpio/cpio.c
1.5 +4 -0 src/usr.bin/cpio/cpio.h
1.2 +2 -1 src/usr.bin/cpio/test/test_option_tv.stdout.uu
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811292022.mATKMK4t092438>
