Merge topic 'archive-exclude-file-flags'
a34015d
cmArchiveWrite: Clear fflags from archive entries
This commit is contained in:
commit
2b3b45aec9
|
@ -240,6 +240,7 @@ bool cmArchiveWrite::AddFile(const char* file,
|
|||
// Clear acl and xattr fields not useful for distribution.
|
||||
archive_entry_acl_clear(e);
|
||||
archive_entry_xattr_clear(e);
|
||||
archive_entry_set_fflags(e, 0, 0);
|
||||
if(archive_write_header(this->Archive, e) != ARCHIVE_OK)
|
||||
{
|
||||
this->Error = "archive_write_header: ";
|
||||
|
|
Loading…
Reference in New Issue