]> Cypherpunks repositories - gostls13.git/commit
os: read only 10,000 bytes at a time from Windows console
authorRuss Cox <rsc@golang.org>
Fri, 8 Jan 2016 16:23:25 +0000 (11:23 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 8 Jan 2016 16:52:37 +0000 (16:52 +0000)
commit29eea94abe3841d9569f6b8d110d92a54641c31b
tree8a5a3a1e43036023d8e91e1abf0c423093ef5a95
parent5ccaf0255b75063a9c685009e77cee24e26a509e
os: read only 10,000 bytes at a time from Windows console

Reading 32,767 is too many on some versions of Windows.
The exact upper bound is unclear.

For #13697, but may not fix the problem on all systems.

Change-Id: I197021ed60cbcd33c91ca6ceed456ec3d5a6c9d6
Reviewed-on: https://go-review.googlesource.com/18433
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/file_windows.go