'pax' format support for mtime and atime
authorjca <jca@openbsd.org>
Wed, 27 Dec 2023 08:29:41 +0000 (08:29 +0000)
committerjca <jca@openbsd.org>
Wed, 27 Dec 2023 08:29:41 +0000 (08:29 +0000)
commit554c9a8f2b32b739c9e3e3ba59d942bcb153feab
tree4f4f7e76375755a73e46d7c965455bc60037ec73
parent58d5f0181b7e19b6fffe42781f0651f427264c49
'pax' format support for mtime and atime

Access time can't be represented by ustar, so always include it when
using the pax format.  Also include an extended header record for mtime
if the file modification time can't be fully represented by ustar (eg
subsecond resolution).

Input & ok millert@
bin/pax/tar.c