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

open zip file in binary mode to avoid corrupting zip files on windows #644

Merged
merged 1 commit into from Mar 23, 2015
Merged

Conversation

mwrock
Copy link
Member

@mwrock mwrock commented Mar 21, 2015

fixes #643 by opening the zip to create in binary mode. This prevents the output stream from getting corrupted by extra carriage returns.

@tyler-ball
Copy link
Contributor

I tested this on my windows VM and got uncorrupted ZIPs with your change - merging!

tyler-ball added a commit that referenced this pull request Mar 23, 2015
open zip file in binary mode to avoid corrupting zip files on  windows
@tyler-ball tyler-ball merged commit fdc66ca into test-kitchen:windows-guest-support Mar 23, 2015
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants