From owner-cvs-src-old@FreeBSD.ORG Sat Nov 29 20:22:20 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C281065676 for ; Sat, 29 Nov 2008 20:22:20 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4508A8FC20 for ; Sat, 29 Nov 2008 20:22:20 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mATKMKMB092439 for ; Sat, 29 Nov 2008 20:22:20 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mATKMK4t092438 for cvs-src-old@freebsd.org; Sat, 29 Nov 2008 20:22:20 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200811292022.mATKMK4t092438@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Sat, 29 Nov 2008 20:22:02 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/cpio cpio.c cpio.h src/usr.bin/cpio/test test_option_tv.stdout.uu X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2008 20:22:20 -0000 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