Skip to content

Commit

Permalink
don't use normpath
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Sep 4, 2024
1 parent efe62b3 commit 5eac9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Profile/src/Profile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5eac9f9

Please sign in to comment.