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

Issue 170044: code review 170044: syscalls can return negative i/o counts. fix bugs in Re... (Closed)

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

Description

syscalls can return negative i/o counts. fix bugs in ReadAt and WriteAt not to include negative counts in return values.

Patch Set 1 #

Patch Set 2 : code review 170044: syscalls can return negative i/o counts. fix bugs in Re... #

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

Messages

Total messages: 4
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review the following change.
14 years, 4 months ago (2009-12-09 22:06:01 UTC) #1
rsc
LGTM
14 years, 4 months ago (2009-12-09 22:07:06 UTC) #2
hurtonm
Hi, Is it possible for Pread syscall to return positive count and nonzero error? If ...
14 years, 4 months ago (2009-12-09 22:12:46 UTC) #3
r
14 years, 4 months ago (2009-12-09 22:18:37 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=1502f7952a23 ***

syscalls can return negative i/o counts. fix bugs in ReadAt and WriteAt not to
include
negative counts in return values.

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

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