]> Cypherpunks repositories - gostls13.git/commit
cmd/link: Replace fmt.Sprintf with filepath.Join
authorChristopher Nelson <nadiasvertex@gmail.com>
Thu, 31 Mar 2016 20:22:54 +0000 (16:22 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 31 Mar 2016 22:32:28 +0000 (22:32 +0000)
commit8677cad1992af3ba4ce7cdfdaca8bcdbf320eaa8
treec25439722f55f919025aaea970654b9a0bdd929a
parentc27efce66bce7534dbb357ac1779bbc08395b267
cmd/link: Replace fmt.Sprintf with filepath.Join

In a number of places the code was joining filepaths explicitly with
"/", instead of using filepath.Join. This may cause problems on Windows
(or other) platforms.

This is in support of https://go-review.googlesource.com/#/c/18057

Change-Id: Ieb1334f35ddb2e125be690afcdadff8d7b0ace10
Reviewed-on: https://go-review.googlesource.com/21369
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/internal/ld/lib.go