• Graham Miller's avatar
    bufio: do not cache Read errors · f795bdb9
    Graham Miller authored
    Reader previously had cached an error from the underlying reader
    and would return it on every subsequent call to Read.  The Reader
    will now return the error only once, and subsequent calls will result
    in a new Read call to the underlying Reader.
    
    Fixes #1934.
    
    R=bradfitz, rogpeppe, rsc
    CC=golang-dev
    https://golang.org/cl/4528133
    f795bdb9
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...