summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-07-25 18:50:24 +0000
committerkientzle <kientzle@FreeBSD.org>2004-07-25 18:50:24 +0000
commitf3910ffdc8d83ac3fe6ca58978ad4699f3335400 (patch)
tree9f11835892cf937bacd323681b6c50df27356ff6 /lib/libarchive
parente61bf7847d4ae56d26ce50709b8bd8de943031c9 (diff)
downloadFreeBSD-src-f3910ffdc8d83ac3fe6ca58978ad4699f3335400.zip
FreeBSD-src-f3910ffdc8d83ac3fe6ca58978ad4699f3335400.tar.gz
We were forcing a pax extension header for files >= 1G. Set that
cutoff to >= 8G, as it should be.
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_write_set_format_pax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_format_pax.c b/lib/libarchive/archive_write_set_format_pax.c
index 937113a..cc4b82e 100644
--- a/lib/libarchive/archive_write_set_format_pax.c
+++ b/lib/libarchive/archive_write_set_format_pax.c
@@ -409,7 +409,7 @@ archive_write_pax_header(struct archive *a,
}
/* If file size is too large, add 'size' to pax extended attrs. */
- if (st_main->st_size >= (1 << 30)) {
+ if (st_main->st_size >= (((int64_t)1) << 33)) {
add_pax_attr_int(&(pax->pax_header), "size", st_main->st_size);
need_extension = 1;
}
OpenPOWER on IntegriCloud