]> Cypherpunks repositories - gostls13.git/commit
fix bufio bugs involving readers that return os.EOF with
authorRuss Cox <rsc@golang.org>
Wed, 26 Aug 2009 23:23:34 +0000 (16:23 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 26 Aug 2009 23:23:34 +0000 (16:23 -0700)
commit29415d055762baa612ec96fdc44dee0893cb9c47
tree4d02eadd3aa044dc24614524876eb2987dab0a31
parent26a2642fc39227edfd842b58fc4be08a4e837117
fix bufio bugs involving readers that return os.EOF with
the last bit of data.

add a new iotest.DataErrReader for tests

R=r
DELTA=93  (41 added, 31 deleted, 21 changed)
OCL=33897
CL=33915
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go
src/pkg/testing/iotest/reader.go