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

Issue 155077: code review 155077: Rework gobs to fix bad bug related to sharing of id's b... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by r
Modified:
14 years, 5 months ago
Reviewers:
rsc
CC:
golang-dev_google.com
Visibility:
Public.

Description

Rework gobs to fix bad bug related to sharing of id's between encoder and decoder side. Fix is to move all decoder state into the decoder object. Fixes issue 215.

Patch Set 1 #

Patch Set 2 : code review 155077: Rework gobs to fix bad bug related to sharing of id's b... #

Patch Set 3 : code review 155077: Rework gobs to fix bad bug related to sharing of id's b... #

Patch Set 4 : code review 155077: Rework gobs to fix bad bug related to sharing of id's b... #

Total comments: 5

Patch Set 5 : code review 155077: Rework gobs to fix bad bug related to sharing of id's b... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -225 lines) Patch
M src/pkg/gob/codec_test.go View 1 2 19 chunks +57 lines, -45 lines 0 comments Download
M src/pkg/gob/decode.go View 1 2 3 4 14 chunks +38 lines, -42 lines 0 comments Download
M src/pkg/gob/decoder.go View 1 2 4 chunks +21 lines, -10 lines 0 comments Download
M src/pkg/gob/encoder.go View 1 2 3 4 5 chunks +15 lines, -14 lines 0 comments Download
M src/pkg/gob/encoder_test.go View 2 chunks +2 lines, -114 lines 0 comments Download
M src/pkg/gob/type.go View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4
r
Hello rsc (cc: golang-dev@google.com), I'd like you to review the following change.
14 years, 5 months ago (2009-11-17 04:35:25 UTC) #1
r
Hello rsc (cc: golang-dev@google.com), I'd like you to review the following change.
14 years, 5 months ago (2009-11-17 04:38:45 UTC) #2
rsc
LGTM the tests got simpler! http://codereview.appspot.com/155077/diff/1029/18 File src/pkg/gob/decode.go (right): http://codereview.appspot.com/155077/diff/1029/18#newcode350 src/pkg/gob/decode.go:350: // The encoder engine ...
14 years, 5 months ago (2009-11-17 07:00:02 UTC) #3
r
14 years, 5 months ago (2009-11-17 07:32:31 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=efef35b43491 ***

Rework gobs to fix bad bug related to sharing of id's between encoder and
decoder side.
Fix is to move all decoder state into the decoder object.

Fixes issue 215.

R=rsc
CC=golang-dev
http://codereview.appspot.com/155077
Sign in to reply to this message.

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