]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Unbreak Mac OS build after 9aaec1f5000b26f1db00eb84a6c1f79552b12f31
authorMartin Matuska <martin@matuska.org>
Thu, 23 Feb 2017 02:02:24 +0000 (03:02 +0100)
committerMartin Matuska <martin@matuska.org>
Thu, 23 Feb 2017 02:03:16 +0000 (03:03 +0100)
libarchive/archive_read_disk_posix.c

index d93d200aa3d1f2633c17b382385bfb078de6f2d4..7f7823afdbe8bf2cbc489c44f6c34e6bf59b353f 100644 (file)
@@ -896,7 +896,7 @@ next_entry(struct archive_read_disk *a, struct tree *t,
        } while (lst == NULL);
 
 #ifdef __APPLE__
-       if (a->enable_copyfile) {
+       if (a->flags & ARCHIVE_READDISK_MAC_COPYFILE) {
                /* If we're using copyfile(), ignore "._XXX" files. */
                const char *bname = strrchr(tree_current_path(t), '/');
                if (bname == NULL)