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

abspath wrong for drive-relative paths #26688

Open
vtjnash opened this issue Apr 3, 2018 · 1 comment
Open

abspath wrong for drive-relative paths #26688

vtjnash opened this issue Apr 3, 2018 · 1 comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior kind:correctness bug ⚠ Bugs that are likely to lead to incorrect results in user code without throwing system:windows Affects only Windows

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Apr 3, 2018

$ ./usr/bin/julia.exe -E 'abspath("C:a")'
"C:a"

(correct answer would be something like "Z:\\data\\vtjnash\\julia\\win32\\a")

@vtjnash vtjnash added the system:windows Affects only Windows label Apr 3, 2018
@StefanKarpinski StefanKarpinski added the kind:bug Indicates an unexpected problem or unintended behavior label Apr 3, 2018
@StefanKarpinski StefanKarpinski added this to the 1.0.x milestone Apr 3, 2018
@vtjnash
Copy link
Sponsor Member Author

vtjnash commented Jun 11, 2019

additionally:

julia> abspath("\\\\?\\C:\\", "b")
"\\\\?\\C:\\b" #good

julia> abspath("\\\\?\\C:", "b")
"\\\\?\\C:b\\" #why is the slash on the wrong side?

@DilumAluthge DilumAluthge removed this from the 1.x.y milestone Mar 13, 2022
@LilithHafner LilithHafner added the kind:correctness bug ⚠ Bugs that are likely to lead to incorrect results in user code without throwing label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior kind:correctness bug ⚠ Bugs that are likely to lead to incorrect results in user code without throwing system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

4 participants