Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
bf1c881a
Commit
bf1c881a
authored
Apr 27, 2010
by
Evan Shaw
Committed by
Russ Cox
Apr 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os: Fix build for MinGW
R=rsc CC=golang-dev
https://golang.org/cl/1014041
parent
18206120
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
stat_mingw.go
src/pkg/os/stat_mingw.go
+1
-1
No files found.
src/pkg/os/stat_mingw.go
100644 → 100755
View file @
bf1c881a
...
...
@@ -18,7 +18,7 @@ func fileInfoFromStat(name string, fi *FileInfo, lstat, stat *syscall.Stat_t) *F
}
else
{
fi
.
Mode
=
fi
.
Mode
|
0666
}
fi
.
Size
=
int64
(
stat
.
Windata
.
FileSizeHigh
)
<<
32
+
u
int64
(
stat
.
Windata
.
FileSizeLow
)
fi
.
Size
=
int64
(
stat
.
Windata
.
FileSizeHigh
)
<<
32
+
int64
(
stat
.
Windata
.
FileSizeLow
)
fi
.
Name
=
string
(
syscall
.
UTF16ToString
(
stat
.
Windata
.
FileName
[
0
:
]))
fi
.
FollowedSymlink
=
false
// TODO(brainman): use CreationTime LastAccessTime LastWriteTime to prime following Dir fields
...
...
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