diff options
author | Brad King <brad.king@kitware.com> | 2010-08-27 13:15:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-08-27 13:15:29 (GMT) |
commit | e87b6bbddb2a7a7e3a2772645ee1d28531993cd5 (patch) | |
tree | 945a18a08a74e468821a3da8a34d9468d5a4025c /Utilities | |
parent | d8ccd1760c39ba836dc8daf3c0ea4f313be663cc (diff) | |
download | CMake-e87b6bbddb2a7a7e3a2772645ee1d28531993cd5.zip CMake-e87b6bbddb2a7a7e3a2772645ee1d28531993cd5.tar.gz CMake-e87b6bbddb2a7a7e3a2772645ee1d28531993cd5.tar.bz2 |
libarchive: Remove SCHILY dev,ino,nlink attributes (#11176)
At least one version of GNU tar (1.15.1 with Fedora patches) does not
recognize these attributes and exits with error. Do not generate them.
Patch from upstream libarchive svn r2563.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_write_set_format_pax.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_set_format_pax.c b/Utilities/cmlibarchive/libarchive/archive_write_set_format_pax.c index c097108..ecd7871 100644 --- a/Utilities/cmlibarchive/libarchive/archive_write_set_format_pax.c +++ b/Utilities/cmlibarchive/libarchive/archive_write_set_format_pax.c @@ -813,16 +813,6 @@ archive_write_pax_header(struct archive_write *a, add_pax_attr_w(&(pax->pax_header), "SCHILY.acl.default", wp); - /* Include star-compatible metadata info. */ - /* Note: "SCHILY.dev{major,minor}" are NOT the - * major/minor portions of "SCHILY.dev". */ - add_pax_attr_int(&(pax->pax_header), "SCHILY.dev", - archive_entry_dev(entry_main)); - add_pax_attr_int(&(pax->pax_header), "SCHILY.ino", - archive_entry_ino64(entry_main)); - add_pax_attr_int(&(pax->pax_header), "SCHILY.nlink", - archive_entry_nlink(entry_main)); - /* Store extended attributes */ archive_write_pax_header_xattrs(pax, entry_original); } |