diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-28 13:43:33 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-28 13:43:33 +0000 |
commit | bab85b65e545231656361b997a81fb8a44b266b4 (patch) | |
tree | 25b3da36ffb0e65619ba42780e8707ba0937daea /libgo/go/net/sendfile_windows.go | |
parent | 739016b56c81a76c269a10fec5844a608b97c09c (diff) | |
download | gcc-bab85b65e545231656361b997a81fb8a44b266b4.tar.gz |
2011-10-28 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 180613 using svnmerge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@180615 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/net/sendfile_windows.go')
-rw-r--r-- | libgo/go/net/sendfile_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/net/sendfile_windows.go b/libgo/go/net/sendfile_windows.go index 3772eee2490..d9c2f537a3d 100644 --- a/libgo/go/net/sendfile_windows.go +++ b/libgo/go/net/sendfile_windows.go @@ -54,7 +54,7 @@ func sendFile(c *netFD, r io.Reader) (written int64, err os.Error, handled bool) defer c.decref() var o sendfileOp - o.Init(c) + o.Init(c, 'w') o.n = uint32(n) o.src = f.Fd() done, err := iosrv.ExecIO(&o, 0) |