We were forcing a pax extension header for files >= 1G. Set that

cutoff to >= 8G, as it should be.
This commit is contained in:
kientzle 2004-07-25 18:50:24 +00:00
parent e61bf7847d
commit f3910ffdc8

View File

@ -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;
}