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

Issue 6976050: code review 6976050: bytes: fix UnreadByte failure after ReadBytes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by stephane.travostino
Modified:
10 years, 8 months ago
Reviewers:
rsc
CC:
golang-dev, minux1, bradfitz, rsc, dave_cheney.net
Visibility:
Public.

Description

bytes: fix UnreadByte failure after ReadBytes Fixes issue 4583.

Patch Set 1 #

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

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

Total comments: 4

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

Total comments: 2

Patch Set 5 : diff -r 8906cf341c9b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M src/pkg/bytes/buffer.go View 1 2 chunks +2 lines, -1 line 0 comments Download
M src/pkg/bytes/buffer_test.go View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12
stephane.travostino
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 4 months ago (2012-12-22 17:42:14 UTC) #1
minux1
in the description, please use something like bytes: *fix* UnreadByte failure after ReadByte https://codereview.appspot.com/6976050/diff/3003/src/pkg/bytes/buffer_test.go File ...
11 years, 4 months ago (2012-12-22 18:49:19 UTC) #2
bradfitz
nits... https://codereview.appspot.com/6976050/diff/3003/src/pkg/bytes/buffer_test.go File src/pkg/bytes/buffer_test.go (right): https://codereview.appspot.com/6976050/diff/3003/src/pkg/bytes/buffer_test.go#newcode463 src/pkg/bytes/buffer_test.go:463: t.Errorf("ReadBytes error: %v", err) Fatalf, as the test ...
11 years, 4 months ago (2012-12-22 18:52:14 UTC) #3
stephane.travostino
Hello golang-dev@googlegroups.com, minux.ma@gmail.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 4 months ago (2012-12-23 16:59:19 UTC) #4
minux1
https://codereview.appspot.com/6976050/diff/3003/src/pkg/bytes/buffer_test.go File src/pkg/bytes/buffer_test.go (right): https://codereview.appspot.com/6976050/diff/3003/src/pkg/bytes/buffer_test.go#newcode457 src/pkg/bytes/buffer_test.go:457: func TestUnread(t *testing.T) { On 2012/12/22 18:49:19, minux wrote: ...
11 years, 4 months ago (2012-12-23 17:07:00 UTC) #5
rsc
LGTM TestUnreadbyte is fine. Please do make the Fatalf changes minux suggested.
11 years, 4 months ago (2013-01-02 22:40:36 UTC) #6
stephane.travostino
Hello golang-dev@googlegroups.com, minux.ma@gmail.com, bradfitz@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 4 months ago (2013-01-07 13:10:33 UTC) #7
dave_cheney.net
I will submit this today unless there are any remaining comments. Minux ?
11 years, 4 months ago (2013-01-09 21:55:06 UTC) #8
dave_cheney.net
*** Submitted as https://code.google.com/p/go/source/detail?r=e8cfa948baf2 *** bytes: fix UnreadByte failure after ReadBytes Fixes issue 4583. R=golang-dev, ...
11 years, 3 months ago (2013-01-11 06:02:37 UTC) #9
remyoudompheng
R=close
10 years, 9 months ago (2013-07-20 20:08:27 UTC) #10
remyoudompheng
10 years, 9 months ago (2013-07-20 21:30:01 UTC) #11
stephane.travostino
10 years, 8 months ago (2013-08-14 09:57:42 UTC) #12
*** Abandoned ***
Sign in to reply to this message.

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