Skip to content

Commit

Permalink
Add GODEBUG option to use legacy filepath.EvalSymlinks()
Browse files Browse the repository at this point in the history
In go 1.23 filepath.EvalSymlink(path) behavior has changed
and it returns an error if path is a Windows junction. The
new behavior breaks some functionalities (see containers#24557).

The GODEBUG option `winsymlink=0` allow to get run `EvalSymlink`
with its legacy behavior.

Signed-off-by: Mario Loriedo <[email protected]>
  • Loading branch information
l0rd committed Jan 20, 2025
1 parent 0f04ba8 commit 233696f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,7 @@ require (
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
tags.cncf.io/container-device-interface/specs-go v0.8.0 // indirect
)

godebug (
winsymlink=0
)

0 comments on commit 233696f

Please sign in to comment.