mirror of
https://github.com/golang/go
synced 2024-11-23 00:10:07 -07:00
re3
This commit is contained in:
parent
27587df5e1
commit
82c6275cb4
@ -381,7 +381,6 @@ func Open(path string, mode int, perm uint32) (fd Handle, err error) {
|
|||||||
default:
|
default:
|
||||||
createmode = OPEN_EXISTING
|
createmode = OPEN_EXISTING
|
||||||
}
|
}
|
||||||
|
|
||||||
var attrs uint32 = FILE_ATTRIBUTE_NORMAL
|
var attrs uint32 = FILE_ATTRIBUTE_NORMAL
|
||||||
if perm&S_IWRITE == 0 {
|
if perm&S_IWRITE == 0 {
|
||||||
attrs = FILE_ATTRIBUTE_READONLY
|
attrs = FILE_ATTRIBUTE_READONLY
|
||||||
|
Loading…
Reference in New Issue
Block a user