Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
9e0b68d1
Commit
9e0b68d1
authored
Dec 04, 2009
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add syscall.Rename for NaCl. Fixes NaCl build.
R=rsc
https://golang.org/cl/165062
parent
e79bcf8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/pkg/syscall/syscall_nacl.go
src/pkg/syscall/syscall_nacl.go
+4
-0
No files found.
src/pkg/syscall/syscall_nacl.go
View file @
9e0b68d1
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment