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

Writing wrong file name on Linux #32

Closed
nicvac opened this issue Apr 12, 2018 · 1 comment
Closed

Writing wrong file name on Linux #32

nicvac opened this issue Apr 12, 2018 · 1 comment
Labels
bug Unix Impact on Unix archi

Comments

@nicvac
Copy link

nicvac commented Apr 12, 2018

Hi,
thank you for your lib. Very useful!
Issue:
unzipper.extractEntry( "file1.txt", "/tmp" );

Writes a file called /tmp\file1.txt
instead of writing file1.txt in path /tmp

Hi think the problem is here:
./unzipper.cpp: std::string outputFile = destination.empty() ? name : destination + "\" + name;

@Lecrapouille Lecrapouille added bug Unix Impact on Unix archi labels Apr 11, 2019
Lecrapouille added a commit that referenced this issue Apr 11, 2019
@Lecrapouille
Copy link
Collaborator

Is the patch made on the develop branch fixes your case (until adding unit/non regression tests) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unix Impact on Unix archi
Projects
None yet
Development

No branches or pull requests

2 participants