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

cutoff to >= 8G, as it should be.
This commit is contained in:
Tim Kientzle 2004-07-25 18:50:24 +00:00
parent d2069767f5
commit 3dd77a04e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132635

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