Skip to content

Commit 8571bd8

Browse files
committed
remove os.O_SYNC
1 parent 9b55d42 commit 8571bd8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
var curDir string
1010

1111
const (
12-
flagNew = os.O_CREATE | os.O_RDWR | os.O_SYNC | os.O_TRUNC
13-
flagAppend = os.O_CREATE | os.O_RDWR | os.O_SYNC | os.O_APPEND
12+
flagNew = os.O_CREATE | os.O_RDWR | os.O_TRUNC
13+
flagAppend = os.O_CREATE | os.O_RDWR | os.O_APPEND
1414
)
1515

1616
// SetFile ...

0 commit comments

Comments
 (0)