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: create extract_dir on same filesystem as out_dir #58

Merged
merged 1 commit into from
May 1, 2024

Conversation

jcrossley3
Copy link
Contributor

fs::rename will fail if extract_dir and out_dir are on different filesystems. On my Fedora workstation, which mounts /tmp and /home on different filesystems, I get the following error:

Error: Invalid cross-device link (os error 18)

Otherwise, fs::rename will fail if extract_dir and out_dir are on
different filesystems.

Signed-off-by: Jim Crossley <[email protected]>
@brianheineman
Copy link
Contributor

@jcrossley3 thanks for the fix

@brianheineman brianheineman merged commit 4c64041 into theseus-rs:main May 1, 2024
9 of 11 checks passed
@brianheineman
Copy link
Contributor

@jcrossley3 I released v0.9.1 with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants