-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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 zip file opening twice #42337
Fix zip file opening twice #42337
Conversation
bb75c59
to
6ff1d94
Compare
I wonder if it's correct to remove this one. |
See also |
Oh, this is proper in logic. I will modify for this |
Note that |
6ff1d94
to
9a8a49a
Compare
I just noticed that there's also this PR which relates to the same code, probably trying to solve a similar issue: #40303. This code is a bit tricky as I don't know any current maintainer who is familiar with this code, so it's hard to assess changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with the minizip API and the pros/cons of switching from using the opaque
pointers to the stream
ones. But the implementation seems good and it fixes an important bug, so unless anyone objects the changes, I'll merge. (Poke @reduz @punto- @RandomShaper)
LGTM. |
Thanks! |
Cherry-picked for 3.4. |
Cherry-picked for 3.3.1. |
Fixes #42329
Fixes #48697