]> Cypherpunks repositories - gostls13.git/commit
syscalls can return negative i/o counts. fix bugs in ReadAt and WriteAt not to include
authorRob Pike <r@golang.org>
Wed, 9 Dec 2009 22:18:32 +0000 (14:18 -0800)
committerRob Pike <r@golang.org>
Wed, 9 Dec 2009 22:18:32 +0000 (14:18 -0800)
commit51f2932082ecfc7c92aad774be3ebea6436d662b
tree707508cc09538407a7300fd3c98d8c6116f5a65b
parentd55abfd2c9cd96f8e4c1b61a9b57c88d3f3bcd37
syscalls can return negative i/o counts. fix bugs in ReadAt and WriteAt not to include
negative counts in return values.

R=rsc
CC=golang-dev
https://golang.org/cl/170044
src/pkg/os/file.go