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

Issue 9437044: code review 9437044: os: use small buffer when reading from windows console (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by brainman
Modified:
10 years, 11 months ago
Reviewers:
r
CC:
golang-dev, Dominik Honnef, bradfitz
Visibility:
Public.

Description

os: use small buffer when reading from windows console Fixes issue 5481.

Patch Set 1 #

Patch Set 2 : diff -r 0d28fd55e721 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 0d28fd55e721 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 0d28fd55e721 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 9a73efa2cd4e https://go.googlecode.com/hg/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M src/pkg/os/file_windows.go View 1 2 3 1 chunk +7 lines, -1 line 1 comment Download

Messages

Total messages: 8
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 11 months ago (2013-05-16 02:49:27 UTC) #1
Dominik Honnef
https://codereview.appspot.com/9437044/diff/5001/src/pkg/os/file_windows.go File src/pkg/os/file_windows.go (right): https://codereview.appspot.com/9437044/diff/5001/src/pkg/os/file_windows.go#newcode269 src/pkg/os/file_windows.go:269: println(len(wchars), err.Error()) Left-over debug statement?
10 years, 11 months ago (2013-05-16 03:03:41 UTC) #2
brainman
Hello golang-dev@googlegroups.com, dominik.honnef@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 11 months ago (2013-05-16 03:15:26 UTC) #3
brainman
Thank you for review. Alex https://codereview.appspot.com/9437044/diff/5001/src/pkg/os/file_windows.go File src/pkg/os/file_windows.go (right): https://codereview.appspot.com/9437044/diff/5001/src/pkg/os/file_windows.go#newcode269 src/pkg/os/file_windows.go:269: println(len(wchars), err.Error()) On 2013/05/16 ...
10 years, 11 months ago (2013-05-16 03:15:32 UTC) #4
bradfitz
LGTM On Wed, May 15, 2013 at 7:49 PM, <alex.brainman@gmail.com> wrote: > Reviewers: golang-dev1, > ...
10 years, 11 months ago (2013-05-16 06:50:55 UTC) #5
brainman
*** Submitted as https://code.google.com/p/go/source/detail?r=f95d161ca3cb *** os: use small buffer when reading from windows console Fixes ...
10 years, 11 months ago (2013-05-16 07:20:21 UTC) #6
r
https://codereview.appspot.com/9437044/diff/17001/src/pkg/os/file_windows.go File src/pkg/os/file_windows.go (right): https://codereview.appspot.com/9437044/diff/17001/src/pkg/os/file_windows.go#newcode256 src/pkg/os/file_windows.go:256: readN := 16000 this seems backwards relative to the ...
10 years, 11 months ago (2013-05-16 14:15:11 UTC) #7
brainman
10 years, 11 months ago (2013-05-17 02:56:29 UTC) #8
Message was sent while issue was closed.
On 2013/05/16 14:15:11, r wrote:
> this seems backwards relative to the comment...

Agreed. Here https://codereview.appspot.com/9458043/ is the change.

Alex
Sign in to reply to this message.

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