mirror of
https://github.com/golang/go
synced 2024-11-22 19:54:39 -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:
|
||||
createmode = OPEN_EXISTING
|
||||
}
|
||||
|
||||
var attrs uint32 = FILE_ATTRIBUTE_NORMAL
|
||||
if perm&S_IWRITE == 0 {
|
||||
attrs = FILE_ATTRIBUTE_READONLY
|
||||
|
Loading…
Reference in New Issue
Block a user