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

Issue 6567062: code review 6567062: go spec: arguments for append may overlap (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by gri
Modified:
11 years, 6 months ago
Reviewers:
rsc
CC:
r, iant, ken2, remyoudompheng, golang-dev
Visibility:
Public.

Description

go spec: arguments for append may overlap Fixes issue 4142.

Patch Set 1 #

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

Total comments: 2

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

Total comments: 2

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

Total comments: 2

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

Total comments: 3

Patch Set 6 : diff -r 63fdf64c57fc https://code.google.com/p/go #

Patch Set 7 : diff -r 63fdf64c57fc https://code.google.com/p/go #

Patch Set 8 : diff -r 63fdf64c57fc https://code.google.com/p/go #

Total comments: 1

Patch Set 9 : diff -r 63fdf64c57fc https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -8 lines) Patch
M doc/go_spec.html View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 21
gri
Hello rsc, r, iant, ken2 (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
11 years, 7 months ago (2012-09-27 18:12:26 UTC) #1
gri
Hello rsc@golang.org, r@golang.org, iant@golang.org, ken@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 7 months ago (2012-09-27 18:13:57 UTC) #2
iant
https://codereview.appspot.com/6567062/diff/2001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/2001/doc/go_spec.html#newcode4918 doc/go_spec.html:4918: The underlying arrays of <code>s</code> and a slice argument ...
11 years, 7 months ago (2012-09-27 18:30:53 UTC) #3
gri
https://codereview.appspot.com/6567062/diff/2001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/2001/doc/go_spec.html#newcode4918 doc/go_spec.html:4918: The underlying arrays of <code>s</code> and a slice argument ...
11 years, 7 months ago (2012-09-27 23:22:53 UTC) #4
r
https://codereview.appspot.com/6567062/diff/6001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/6001/doc/go_spec.html#newcode4918 doc/go_spec.html:4918: The arguments may overlap. The range of addresses represented ...
11 years, 7 months ago (2012-09-27 23:45:31 UTC) #5
r
Fixes issue 4142.
11 years, 7 months ago (2012-09-27 23:54:11 UTC) #6
gri
PTAL https://codereview.appspot.com/6567062/diff/6001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/6001/doc/go_spec.html#newcode4918 doc/go_spec.html:4918: The arguments may overlap. On 2012/09/27 23:45:31, r ...
11 years, 7 months ago (2012-09-28 00:04:13 UTC) #7
r
https://codereview.appspot.com/6567062/diff/9002/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/9002/doc/go_spec.html#newcode4918 doc/go_spec.html:4918: The range of addresses represented by the arguments may ...
11 years, 7 months ago (2012-09-28 00:08:40 UTC) #8
gri
That seems to detailed; for one we don't say anything the like for copy, just ...
11 years, 7 months ago (2012-09-28 00:19:38 UTC) #9
r
Perhaps, but I think it's worth saying that the source is read before being overwritten. ...
11 years, 7 months ago (2012-09-28 00:33:41 UTC) #10
gri
PTAL - gri https://codereview.appspot.com/6567062/diff/9002/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/9002/doc/go_spec.html#newcode4918 doc/go_spec.html:4918: The range of addresses represented by ...
11 years, 6 months ago (2012-09-28 20:13:34 UTC) #11
r
LGTM https://codereview.appspot.com/6567062/diff/2003/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/2003/doc/go_spec.html#newcode4909 doc/go_spec.html:4909: overlap in which case the functions behave equivalent ...
11 years, 6 months ago (2012-09-28 21:05:02 UTC) #12
r
I admit this is a clumsy way to express this concept. If someone has a ...
11 years, 6 months ago (2012-09-28 21:05:42 UTC) #13
iant
https://codereview.appspot.com/6567062/diff/2003/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/2003/doc/go_spec.html#newcode4909 doc/go_spec.html:4909: overlap in which case the functions behave equivalent to ...
11 years, 6 months ago (2012-09-28 21:15:34 UTC) #14
remyoudompheng
https://codereview.appspot.com/6567062/diff/2003/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/2003/doc/go_spec.html#newcode4908 doc/go_spec.html:4908: The range of addresses represented by the arguments for ...
11 years, 6 months ago (2012-09-28 21:15:45 UTC) #15
r
Another attempt. Same idea but avoiding the buffer concept. The range of addresses represented by ...
11 years, 6 months ago (2012-09-28 21:21:14 UTC) #16
gri
Hello rsc@golang.org, r@golang.org, iant@golang.org, ken@golang.org, remyoudompheng@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-09-28 22:18:41 UTC) #17
iant
LGTM
11 years, 6 months ago (2012-09-28 22:27:36 UTC) #18
r
LGTM https://codereview.appspot.com/6567062/diff/16001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6567062/diff/16001/doc/go_spec.html#newcode4909 doc/go_spec.html:4909: by slice arguments overlaps. this reads funny. maybe ...
11 years, 6 months ago (2012-09-28 22:52:32 UTC) #19
gri
*** Submitted as http://code.google.com/p/go/source/detail?r=c1c1dd3940c6 *** go spec: arguments for append may overlap Fixes issue 4142. ...
11 years, 6 months ago (2012-09-28 22:55:42 UTC) #20
rsc
11 years, 6 months ago (2012-10-01 19:09:33 UTC) #21
LGTM
Sign in to reply to this message.

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