]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove the SCHILY dev/ino/nlink attributes, since noone seems to
authorTim Kientzle <kientzle@gmail.com>
Sun, 22 Aug 2010 20:33:41 +0000 (16:33 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 22 Aug 2010 20:33:41 +0000 (16:33 -0400)
be actually using them and they generate a lot of complaints.

SVN-Revision: 2563

libarchive/archive_write_set_format_pax.c

index c43b4c6853fc65effb4cba05ea9fd9256d1925fc..f03760610c529a86412f5407d3d87598fd4cc106 100644 (file)
@@ -953,16 +953,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));
-
                /* We use GNU-tar-compatible sparse attributes. */
                if (sparse_count > 0) {
                        int64_t soffset, slength;