summaryrefslogtreecommitdiff
path: root/libgo/go/path/filepath/path_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/path/filepath/path_windows.go')
-rw-r--r--libgo/go/path/filepath/path_windows.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/go/path/filepath/path_windows.go b/libgo/go/path/filepath/path_windows.go
index e99997257d7..ec50f6b264f 100644
--- a/libgo/go/path/filepath/path_windows.go
+++ b/libgo/go/path/filepath/path_windows.go
@@ -6,6 +6,7 @@ package filepath
import (
"strings"
+ "syscall"
)
func isSlash(c uint8) bool {
@@ -103,3 +104,7 @@ func splitList(path string) []string {
return list
}
+
+func abs(path string) (string, error) {
+ return syscall.FullPath(path)
+}