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

Fix unpackFiles bug #13

Merged
merged 1 commit into from
May 5, 2017
Merged

Fix unpackFiles bug #13

merged 1 commit into from
May 5, 2017

Conversation

igorepi
Copy link
Contributor

@igorepi igorepi commented Jul 3, 2016

pos is of size_t, which can be (and almost always is) unsigned (mingw-32 for example); so (pos > 0) is always true even if name does not contain '/'
as a result, unpackFiles always creates empty dirs instead of write to file(s)

pos is of size_t, which can be (and almost always is) unsigned (mingw-32 for example); so (pos > 0) is always true even if name does not contain '/'
as a result, unpackFiles always creates empty dirs instead of write to file(s)
@igrr igrr merged commit 8c7cd3c into igrr:master May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants