1
0
mirror of https://github.com/golang/go synced 2024-10-04 17:21:20 -06:00
go/src/pkg/bufio
Russ Cox 041d978d84 bufio: change ReadSlice to match description
On error, ReadSlice is defined to return the available data
and advance past that data, but it was not behaving that
way for err == ErrBufferFull, making it harder for callers to
handle well.

R=r
CC=golang-dev
https://golang.org/cl/1480041
2010-06-02 16:17:18 -07:00
..
bufio_test.go bufio: change ReadSlice to match description 2010-06-02 16:17:18 -07:00
bufio.go bufio: change ReadSlice to match description 2010-06-02 16:17:18 -07:00
Makefile go: makes it build for the case $GOROOT has whitespaces 2009-11-23 17:32:51 -08:00