summaryrefslogtreecommitdiff
path: root/libgo/go/path/filepath/path_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/path/filepath/path_unix.go')
-rw-r--r--libgo/go/path/filepath/path_unix.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/go/path/filepath/path_unix.go b/libgo/go/path/filepath/path_unix.go
index d927b342be..4e7d0d1b42 100644
--- a/libgo/go/path/filepath/path_unix.go
+++ b/libgo/go/path/filepath/path_unix.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build darwin dragonfly freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
package filepath
@@ -30,3 +30,7 @@ func splitList(path string) []string {
}
return strings.Split(path, string(ListSeparator))
}
+
+func abs(path string) (string, error) {
+ return unixAbs(path)
+}