Skip to content
  • Brad King's avatar
    cmArchiveWrite: Clear fflags from archive entries · a34015d3
    Brad King authored
    When reading archive entries from disk strip any "fflags" entry headers
    that may have been loaded from the filesystem when libarchive is built
    with HAVE_STRUCT_STAT_ST_FLAGS (struct stat has 'st_flags').  The local
    filesystem flags are not useful for distribution.  Furthermore, GNU tar
    does not understand the "SCHILY.fflags" extended header used to store
    the flags in the archive.  Use the approach from commit e8558efa
    (cmArchiveWrite: Clear xattr and acl from entries, 2011-04-07) to remove
    the flags and avoid producing the non-portable extended header.
    a34015d3