Fix incorrect reporting of error in Scanner.next() when Read reads > 0 bytes but returns os.EOF.
Fix incorrect reporting of error in Scanner.next() when Read reads > 0 bytes but returns os.EOF.

R=golang-dev, gri1, gri
CC=golang-dev
http://codereview.appspot.com/2083042

Committer: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@golang.org>
abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go