summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-07-26 02:54:42 +0000
committerkientzle <kientzle@FreeBSD.org>2004-07-26 02:54:42 +0000
commitc6ae412b294af5529ca02501331a3352128fa173 (patch)
tree19c188bcc8e6cb2fa7f037365230a663da2ec971 /libexec
parentec34d4330fc3137407640bc672d19416d492f62a (diff)
downloadFreeBSD-src-c6ae412b294af5529ca02501331a3352128fa173.zip
FreeBSD-src-c6ae412b294af5529ca02501331a3352128fa173.tar.gz
When writing "pax" format, readers are supposed to ignore fields
in the regular ustar header that are overridden by the pax extended attributes. As a result, it makes perfect sense to use numeric extensions in the regular ustar header so that readers that don't understand pax extensions but do understand some other extensions can still get useful information out of it. This is especially important for filesizes, as the failure to read a file size correctly can get the reader out of sync. This commit introduces a "non-strict" option into the internal function to format a ustar header. In non-strict mode, the formatter will use longer octal values (overwriting terminators) or binary ("base-256") values as needed to ensure that large file sizes, negative mtimes, etc, have the correct values stored in the regular ustar header.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud