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:extract rar file incorrectly in linux platform because of "\\" #114

Closed
wants to merge 1 commit into from

Conversation

GWIian
Copy link

@GWIian GWIian commented Jan 7, 2016

just debug in linux and find this problem.

@adamhathcock
Copy link
Owner

Can't read the diff because the line endings changed :(

For better or worse, the line endings are windows. I ought to change that.

@adamhathcock
Copy link
Owner

I've copy/pasted from your repo but I still don't understand. You're going to have to explain the issue.

@libConch
Copy link

The problem seems will occure while extract rar-package on linux.

Build a rar package with only one file [AAAA\BBBB.txt] on windows, Then the path in rar-package is "AAAA\BBBB.txt". But if you decompress it on linux, the '' will not changed to '/', so error occure.

@adamhathcock
Copy link
Owner

Making this a duplicate of #238

Line endings were hard to read

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.

3 participants