]> Cypherpunks repositories - gostls13.git/commit
bufio: handle a "\r\n" that straddles the buffer.
authorAndrew Gerrand <adg@golang.org>
Wed, 24 Aug 2011 22:44:12 +0000 (08:44 +1000)
committerAndrew Gerrand <adg@golang.org>
Wed, 24 Aug 2011 22:44:12 +0000 (08:44 +1000)
commit56f948470ee6512f48111922f832e4829e71d2ff
treed03a83f42c17a6c7d77a0e04398eb61a6d55a3a5
parentde20cec9c94ae1c29830cbb288f19bdf5fd961df
bufio: handle a "\r\n" that straddles the buffer.

Fixes #2164.

R=r, rsc
CC=golang-dev
https://golang.org/cl/4927043
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go