]> Cypherpunks repositories - gostls13.git/commit
os: Open with O_APPEND|O_CREATE to append to the end of file on Windows
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 22 Apr 2011 05:31:25 +0000 (15:31 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 22 Apr 2011 05:31:25 +0000 (15:31 +1000)
commit59c18b0b366f4d65d0c6c33e87ad056d291fea4d
tree978eb3e699a722e31df843448c50db256c6ca89d
parent8d6a12f57012abec3db7bd7a124ac7551faeef04
os: Open with O_APPEND|O_CREATE to append to the end of file on Windows

Credit for the fix goes to Hector, test by PeterGo.

Fixes #1655.

R=golang-dev, rsc1, peterGo
CC=golang-dev, hector
https://golang.org/cl/4436051
src/pkg/os/os_test.go
src/pkg/syscall/syscall_windows.go