Skip to content

Commit 7dc2406

Browse files
author
Tim van der Molen
committed
Fix previous
Fixes #41
1 parent 1466b65 commit 7dc2406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

at/utimes_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
)
2323

2424
func (d Dir) utimes(path string, atime, mtime time.Time, flag int) error {
25-
upath, err := windows.UTF16PtrFromString(path)
25+
upath, err := windows.UTF16PtrFromString(d.join(path))
2626
if err != nil {
2727
return &os.PathError{Op: "utimes", Path: path, Err: err}
2828
}

0 commit comments

Comments
 (0)