Commit 9e0b68d1 authored by Ian Lance Taylor's avatar Ian Lance Taylor

Add syscall.Rename for NaCl. Fixes NaCl build.

R=rsc
https://golang.org/cl/165062
parent e79bcf8b
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment