From ccf952dac7ba9767e4cfa6bf8926e07711924d3b Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Tue, 23 Jul 2024 12:20:39 -0400 Subject: [PATCH] convert path to abspath in longpath --- base/path.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/path.jl b/base/path.jl index f02350af6e7bf..67bacc589b872 100644 --- a/base/path.jl +++ b/base/path.jl @@ -470,7 +470,7 @@ abspath(a::AbstractString, b::AbstractString...) = abspath(joinpath(a,b...)) if Sys.iswindows() function longpath(path::AbstractString) - p = cwstring(path) + p = cwstring(abspath(path)) # GetLongPathNameW requires absolute paths buf = zeros(UInt16, length(p)) while true n = ccall((:GetLongPathNameW, "kernel32"), stdcall,