]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
streaming zip reader does not support mac extensions
authorTim Kientzle <kientzle@acm.org>
Sun, 23 Feb 2014 17:33:44 +0000 (09:33 -0800)
committerTim Kientzle <kientzle@acm.org>
Sun, 23 Feb 2014 17:33:44 +0000 (09:33 -0800)
libarchive/archive_read_support_format_zip.c

index 9b5f0eecb0a97d365e9f0114238a25012052ad73..4460b304bcdfdcf9f45aebbc6a9c7cc0f615c49d 100644 (file)
@@ -1430,10 +1430,8 @@ archive_read_support_format_zip_streamable(struct archive *_a)
        }
        memset(zip, 0, sizeof(*zip));
 
-#ifdef HAVE_COPYFILE_H
-       /* Set this by default on Mac OS. */
-       zip->process_mac_extensions = 1;
-#endif
+       /* Streamable reader doesn't support mac extensions. */
+       zip->process_mac_extensions = 0;
 
        /*
         * Until enough data has been read, we cannot tell about