Commit 18e9cdc7 authored by Koichi Shiraishi's avatar Koichi Shiraishi Committed by Matthew Dempsky

cmd/link: use filepath.Clean rather than path.Clean

pname already translated package path into a file path on for statement.
Use same as filepath.Clean rather than path.Clean.

Change-Id: I9782e2396313abc39ac55e3fdcec8f53bcaff84e
Reviewed-on: https://go-review.googlesource.com/c/go/+/202377Reviewed-by: default avatarMatthew Dempsky <mdempsky@google.com>
parent 1c38ee5f
......@@ -148,7 +148,7 @@ func findlib(ctxt *Link, lib string) (string, bool) {
}
}
}
pname = path.Clean(pname)
pname = filepath.Clean(pname)
}
return pname, isshlib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment