You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compat mode ADDINZIP results in MZ_OPEN_ERROR #408
Under mz_strm_os_posix.c, mz_stream_os_open() checks for (mode & MZ_OPEN_MODE_APPEND) at line# 82.
But under mz_compat.c, zipConvertAppendToStreamMode() at line#50 has a statement case APPEND_STATUS_ADDINZIP: mode |= MZ_OPEN_MODE_READ
The mode setup in mz_compat won't match the one for stream open.
Can you consider revising the mode to something like: case APPEND_STATUS_ADDINZIP: mode |= MZ_OPEN_MODE_READ | MZ_OPEN_MODE_APPEND;
Thank you
Activity
Added append mode for ADDINZIP when using zip compatibility. #408