fix get_file give wrong file because of calling fopen 'w', always on windows #57

Merged
merged 2 commits into from Mar 20, 2012

Conversation

Projects
None yet
2 participants
Contributor

windy commented Mar 20, 2012

change fopen("","w") to fopen("","wb")
fopen("","r") to fopen("","rb")

@toland toland added a commit that referenced this pull request Mar 20, 2012

@toland toland Merge pull request #57 from windy/master
fix get_file give wrong file because of calling fopen 'w', always on windows
411cd7c

@toland toland merged commit 411cd7c into toland:master Mar 20, 2012

Owner

toland commented Mar 20, 2012

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment