Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix delete entries fail #267

Merged
merged 2 commits into from
Jun 25, 2022
Merged

fix delete entries fail #267

merged 2 commits into from
Jun 25, 2022

Conversation

HellsCoder
Copy link
Contributor

No description provided.

@kuba--
Copy link
Owner

kuba-- commented Jun 19, 2022

thanks. the same fix can be applied to fwrite.

@kuba--
Copy link
Owner

kuba-- commented Jun 25, 2022

IMHO the fix is not totally correct.

Yes, we should not close the file (because zip_close is responsible for closing the archive), but we should return an error.

@kuba-- kuba-- merged commit f8c58eb into kuba--:master Jun 25, 2022
thabetx pushed a commit to Symbyo360/zip that referenced this pull request Sep 7, 2023
* fix delete entries fail

* Do not close file on zip_file_move error

Co-authored-by: Kuba Podgórski <kuba--@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants