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 #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 e93a9ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/podman/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:debug winsymlink=0
package main

import (
Expand Down

0 comments on commit e93a9ec

Please sign in to comment.