-
-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Labels
distributionRelease distributionRelease distribution
Description
In mz_zip.c the library check for both, HAVE_ZLIB and HAVE_LIBCOMP flags and then uses the Zlib interface even though on Apple platforms it might use the Libcomp interface that is "Catfishing" Zlib.
Wouldn't something like be better?
#if defined(HAVE_ZLIB)
else if (zip->file_info.compression_method == MZ_COMPRESS_METHOD_DEFLATE)
mz_stream_zlib_create(&zip->compress_stream);
#endif
#if defined(HAVE_LIBCOMP)
else if (zip->file_info.compression_method == MZ_COMPRESS_METHOD_DEFLATE)
mz_stream_libcomp_create(&zip->compress_stream);
#endifMetadata
Metadata
Assignees
Labels
distributionRelease distributionRelease distribution