bin/66492: cpio -o -Hustar creates broken timestamps

Tim Kientzle kientzle at
Sat Aug 7 11:10:29 PDT 2004

The following reply was made to PR bin/66492; it has been noted by GNATS.

From: Tim Kientzle <kientzle at>
To: freebsd-gnats-submit at, naddy at,
	obrien at
Subject: Re: bin/66492: cpio -o -Hustar creates broken timestamps
Date: Sat, 07 Aug 2004 11:07:00 -0700

 I've looked at this patch and it looks right to me.
 (And having spent much of the last year researching tar formats,
 I think my opinion might be worth something here. ;-)
 While we're in here, we should also fix to_oct to pad
 values with leading zeros (as POSIX requires) rather
 than leading spaces (as was common for pre-POSIX tar
 On the other hand, I doubt a lot of people use cpio
 to read/write tar archives, this is on the vendor branch,
 and it hasn't been touched in nearly seven years.
 David:  I note that you did the last import of this and
 probably know more about vendor imports than anyone else
 around.  Is this worth fixing?  If you think so, let me know
 and I'll take care of it.

More information about the freebsd-bugs mailing list