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
8fe77013
Commit
8fe77013
authored
Jan 10, 2012
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os: work around inlining bug (issue 2678)
TBR=lvd CC=golang-dev
https://golang.org/cl/5534070
parent
091ef25a
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_windows.go
src/pkg/os/file_windows.go
+1
-1
No files found.
src/pkg/os/file_windows.go
View file @
8fe77013
...
...
@@ -55,7 +55,7 @@ type dirInfo struct {
const
DevNull
=
"NUL"
func
(
f
ile
*
file
)
isdir
()
bool
{
return
file
!=
nil
&&
file
.
dirinfo
!=
nil
}
func
(
f
*
file
)
isdir
()
bool
{
return
f
!=
nil
&&
f
.
dirinfo
!=
nil
}
func
openFile
(
name
string
,
flag
int
,
perm
uint32
)
(
file
*
File
,
err
error
)
{
r
,
e
:=
syscall
.
Open
(
name
,
flag
|
syscall
.
O_CLOEXEC
,
perm
)
...
...
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