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
3f25c8a2
Commit
3f25c8a2
authored
Dec 23, 2009
by
Peter Froehlich
Committed by
Russ Cox
Dec 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment for Chmod.
R=r, rsc CC=golang-dev
https://golang.org/cl/183042
parent
617a6a51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pkg/os/file.go
src/pkg/os/file.go
+1
-1
No files found.
src/pkg/os/file.go
View file @
3f25c8a2
...
...
@@ -428,7 +428,7 @@ func Rename(oldname, newname string) Error {
}
// Chmod changes the mode of the named file to mode.
// If the file is a symbolic link, it changes the
uid and gid
of the link's target.
// If the file is a symbolic link, it changes the
mode
of the link's target.
func
Chmod
(
name
string
,
mode
int
)
Error
{
if
e
:=
syscall
.
Chmod
(
name
,
mode
);
e
!=
0
{
return
&
PathError
{
"chmod"
,
name
,
Errno
(
e
)}
...
...
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