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

Issue 36800043: code review 36800043: os: return io.ShortWrite when Write returns n != len(b) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by minux1
Modified:
10 years, 4 months ago
Reviewers:
golang-dev, iant, bradfitz
Visibility:
Public.

Description

os: return io.ShortWrite when Write returns n != len(b) Fixes issue 6855.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/pkg/os/file.go View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7
minux1
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 4 months ago (2013-12-03 22:19:45 UTC) #1
bradfitz
I would only do this if && e == nil. Don't hide errors that came ...
10 years, 4 months ago (2013-12-03 22:24:01 UTC) #2
minux1
On 2013/12/03 22:24:01, bradfitz wrote: > I would only do this if && e == ...
10 years, 4 months ago (2013-12-03 22:40:34 UTC) #3
bradfitz
LGTM at least Test I realize would be hard without e.g. fuse. On Dec 3, ...
10 years, 4 months ago (2013-12-03 22:42:34 UTC) #4
minux1
On Tue, Dec 3, 2013 at 5:42 PM, Brad Fitzpatrick <bradfitz@golang.org>wrote: > Test I realize ...
10 years, 4 months ago (2013-12-03 22:48:05 UTC) #5
iant
LGTM
10 years, 4 months ago (2013-12-03 22:56:50 UTC) #6
minux1
10 years, 4 months ago (2013-12-10 04:30:08 UTC) #7
This change is accidentally submitted together with CL 36930044 in rev
51b22afec887.
Sign in to reply to this message.

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