From 5eac9f945fc2ffefce492853d049a9c98eee7364 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Wed, 4 Sep 2024 14:24:01 -0400 Subject: [PATCH] don't use normpath --- stdlib/Profile/src/Profile.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Profile/src/Profile.jl b/stdlib/Profile/src/Profile.jl index 0214387932fdb7..b48dafba1eeb07 100644 --- a/stdlib/Profile/src/Profile.jl +++ b/stdlib/Profile/src/Profile.jl @@ -511,7 +511,7 @@ function short_path(spath::Symbol, filenamecache::Dict{Symbol, Tuple{String,Stri return get!(filenamecache, spath) do path = Base.fixup_stdlib_path(string(spath)) possible_base_path = normpath(joinpath(Sys.BINDIR, Base.DATAROOTDIR, "julia", "base", path)) - lib_dir = abspath(Sys.BINDIR, Base.LIBDIR) + lib_dir = joinpath(Sys.BINDIR, Base.LIBDIR) if startswith(path, SRC_DIR) remainder = only(split(path, SRC_DIR, keepempty=false)) return (isfile(path) ? path : ""), "@juliasrc", remainder