]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Support UF_HIDDEN file flag (FreeBSD and Darwin)
authorMartin Matuska <martin@matuska.org>
Thu, 23 Mar 2017 16:30:45 +0000 (17:30 +0100)
committerMartin Matuska <martin@matuska.org>
Thu, 23 Mar 2017 16:30:45 +0000 (17:30 +0100)
libarchive/archive_entry.c

index e268194143dd20036efb85e5de96970e74bd4b3e..05c5563c70fe8948ea4273f416cd2736ad31407d 100644 (file)
@@ -1708,6 +1708,9 @@ static struct flag {
 #ifdef UF_COMPRESSED
        { "nocompressed",L"nocompressed",       UF_COMPRESSED,  0 },
 #endif
+#ifdef UF_HIDDEN
+       { "nohidden",   L"nohidden",            UF_HIDDEN,      0 },
+#endif
 #if defined(FS_UNRM_FL)
         { "nouunlink", L"nouunlink",           FS_UNRM_FL,     0},
 #elif defined(EXT2_UNRM_FL)