]> Cypherpunks repositories - gostls13.git/commit
net: handle single-line non-\n-terminated files correctly in readLine
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 28 Oct 2013 23:31:25 +0000 (19:31 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 28 Oct 2013 23:31:25 +0000 (19:31 -0400)
commit5644774ea5c954a08c1e068be9771429a232ca7c
treee527348e6431ada215afadb8e7ee4f5ce96a5ada
parent6ea5687b46b080304584fbc80c3e2dd18f2e1c43
net: handle single-line non-\n-terminated files correctly in readLine

Fixes #6646.

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/15960047
src/pkg/net/hosts_test.go
src/pkg/net/parse.go
src/pkg/net/testdata/hosts_singleline [new file with mode: 0644]