1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:44:39 -07:00

gofix: fix embarrassing typo in osopen.go

R=rsc, gri
CC=golang-dev
https://golang.org/cl/4411044
This commit is contained in:
Rob Pike 2011-04-13 13:49:24 -07:00
parent 4c5dd0e1ee
commit e6cf42c39a

View File

@ -71,7 +71,7 @@ func isCreateFlag(flag ast.Expr) bool {
foundCreate := false
foundTrunc := false
// OR'ing of flags: is O_CREATE on? + or | would be fine; we just look for os.O_CREATE
// and don't worry about the actual opeator.
// and don't worry about the actual operator.
p := flag.Pos()
for {
lhs := flag