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

Issue 198044: code review 198044: Avoid overflow of include and define buffers in 5a/6a/8... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 1 month ago by dpx
Modified:
15 years, 1 month ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Avoid overflow of include and define buffers in 5a/6a/8a/5c/6c/8c

Patch Set 1 #

Patch Set 2 : code review 198044: Avoid overflow of include and define buffers in 5a/6a/8... #

Patch Set 3 : code review 198044: Avoid overflow of include and define buffers in 5a/6a/8... #

Patch Set 4 : code review 198044: Avoid overflow of include and define buffers in 5a/6a/8... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -32 lines) Patch
M src/cmd/5a/a.h View 3 2 chunks +2 lines, -3 lines 0 comments Download
M src/cmd/5a/lex.c View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M src/cmd/6a/a.h View 3 2 chunks +2 lines, -3 lines 0 comments Download
M src/cmd/6a/lex.c View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M src/cmd/8a/a.h View 3 2 chunks +2 lines, -3 lines 0 comments Download
M src/cmd/8a/lex.c View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M src/cmd/cc/cc.h View 3 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/cc/lex.c View 1 2 3 6 chunks +12 lines, -11 lines 0 comments Download
M src/cmd/cc/lexbody View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 7
dpx
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 1 month ago (2010-02-01 22:54:54 UTC) #1
rsc
These aren't things that will get too big, but reallocating on every single append is ...
15 years, 1 month ago (2010-02-04 07:29:26 UTC) #2
dpx
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 1 month ago (2010-02-05 00:21:55 UTC) #3
rsc
It can be even simpler: drop NALLOC completely, don't bother initializing the globals, and do ...
15 years, 1 month ago (2010-02-05 00:34:09 UTC) #4
dpx
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 1 month ago (2010-02-05 02:11:31 UTC) #5
rsc
LGTM thanks
15 years, 1 month ago (2010-02-05 09:22:35 UTC) #6
rsc
15 years, 1 month ago (2010-02-05 09:41:00 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=10111138461e ***

5a/6a/8a/5c/6c/8c: remove fixed-size arrays for -I and -D options

R=rsc
CC=golang-dev
http://codereview.appspot.com/198044

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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