-
Notifications
You must be signed in to change notification settings - Fork 2.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
RubyZip doesn't work well after updating zlib to v.1.2.12 #623
Comments
You'd need to be more explicit about "doesn't work well". You say what happens with 1.2.11, but nothing about what happens with 1.2.12. |
The phenomenon I've said "doesn't work well' is following. Before updating zlib1.2.12 , contents of output file 'test.txt' was like following.
But after updating zlib to version 1.2.12, contents of output file 'test.txt' was empty(0 byte). Nothing was written in output file.
|
|
Sorry, Zip entry 'test.txt' seems to be empty, but just extracting contents of zip failed. I tried to unzip using another unzip tool. which says 'Incorrect Password'. I ran the program again. Output file named "test.zip" contains a entry named "test.txt". but the password validation failed and could not extract contents of zip entry. I ran the program using different password and tried to extract contents, but I cannot extract a content in the zip file.
|
I'd need to know more about how exactly the new version was integrated with Ruby, but instead of that, please text the next release and report back here if there still is or is not an issue. Thanks. |
v.1.2.13 solved this issue. It works well. Thank you very much. |
I have updated zlib from 1.2.11 to 1.2.12. After this updating, RubyZip doesn't work well, The following code generates a zip file includeing a empty file named test.txt. In the environment using older version of zlib, the following code generates a zip file including a text file containing the text of "Hello World!"
Ruby Version: 3.1
The text was updated successfully, but these errors were encountered: