Skip to content

Commit e93a9ec

Browse files
committed
Add GODEBUG option to use legacy filepath.EvalSymlinks()
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]>
1 parent 0f04ba8 commit e93a9ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/podman/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:debug winsymlink=0
12
package main
23

34
import (

0 commit comments

Comments
 (0)