Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(85)

Issue 8757045: code review 8757045: bufio.Scan: don't stop after Read returns 0, nil (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by r
Modified:
12 years, 7 months ago
Reviewers:
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

bufio.Scan: don't stop after Read returns 0, nil But stop eventually if the reader misbehaves.

Patch Set 1 #

Patch Set 2 : diff -r fa6a760fcc63 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 3 : diff -r f5f3d54cfadf https://code.google.com/p/go/ #

Patch Set 4 : diff -r 1a61d674a908 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -10 lines) Patch
M src/pkg/bufio/scan.go View 1 2 2 chunks +19 lines, -10 lines 0 comments Download
M src/pkg/bufio/scan_test.go View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 5
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 7 months ago (2013-04-18 04:43:25 UTC) #1
bradfitz
LGTM with caveat. But thanks for this. I'm very happy with this new behavior. https://codereview.appspot.com/8757045/diff/3001/src/pkg/bufio/scan.go ...
12 years, 7 months ago (2013-04-18 06:09:14 UTC) #2
r
Hello golang-dev@googlegroups.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 7 months ago (2013-04-19 00:21:29 UTC) #3
bradfitz
LGTM
12 years, 7 months ago (2013-04-19 00:30:20 UTC) #4
r
12 years, 7 months ago (2013-04-19 00:37:25 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=13e00572ed0b ***

bufio.Scan: don't stop after Read returns 0, nil
But stop eventually if the reader misbehaves.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8757045
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b