-
Notifications
You must be signed in to change notification settings - Fork 17.3k
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
Cannot close zip.OpenReader #1678
Labels
Comments
I've changed the io.ReaderAt for a custom ReaderAtCloser interface, attached a patch with the modified files. Haven't submitted it for review because I don't know if this is the intended solution, but at least allows you to close the files opened with OpenReader. Attachments:
|
Yes, messed up files inside the zip with actual openend files. Check this new diff. Attachments:
|
I took a different approach by introducing ReadCloser type: http://golang.org/cl/4372047/ |
Labels changed: added packagebug. Owner changed to @adg. Status changed to Accepted. |
This issue was closed by revision 1b7142d. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: