summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-12 19:59:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-06-12 19:59:01 (GMT)
commit2b3b45aec9f825edd42eb02aed5451ee96c182cc (patch)
tree00dcee33f64710143a2deaa499695fa9754dd9c2 /Source
parent4075e1ca6ccd01183c9bb582a2291c5abc70a828 (diff)
parenta34015d356c2a4084029e57a822c96330408c8d6 (diff)
downloadCMake-2b3b45aec9f825edd42eb02aed5451ee96c182cc.zip
CMake-2b3b45aec9f825edd42eb02aed5451ee96c182cc.tar.gz
CMake-2b3b45aec9f825edd42eb02aed5451ee96c182cc.tar.bz2
Merge topic 'archive-exclude-file-flags'
a34015d cmArchiveWrite: Clear fflags from archive entries
Diffstat (limited to 'Source')
-rw-r--r--Source/cmArchiveWrite.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx
index dc6b749..b410e44 100644
--- a/Source/cmArchiveWrite.cxx
+++ b/Source/cmArchiveWrite.cxx
@@ -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: ";