]> Cypherpunks repositories - gostls13.git/commitdiff
Add syscall.Rename for NaCl. Fixes NaCl build.
authorIan Lance Taylor <iant@golang.org>
Fri, 4 Dec 2009 21:49:58 +0000 (13:49 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 4 Dec 2009 21:49:58 +0000 (13:49 -0800)
R=rsc
https://golang.org/cl/165062

src/pkg/syscall/syscall_nacl.go

index b8a4ac5051725f74b0f8d94bb5456cc45e7d30ac..a3f6740c9a3f56cdccbe223231d25a1517a4cde4 100644 (file)
@@ -152,6 +152,10 @@ func Readlink(path string, buf []byte) (n int, errno int) {
        return 0, ENACL
 }
 
+func Rename(oldpath, newpath string) (errno int) {
+       return ENACL
+}
+
 func Fchmod(fd int, mode int) (errno int)      { return ENACL }
 
 func Chown(path string, uid int, gid int) (errno int) {