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

Issue 4536058: code review 4536058: os: make Readdir & Readdirnames return os.EOF at end (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by bradfitz
Modified:
14 years ago
Reviewers:
CC:
rsc, r, brainman, bsiegert, Joe Poirier, golang-dev
Visibility:
Public.

Description

os: make Readdir & Readdirnames return os.EOF at end Fixes issue 678

Patch Set 1 #

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -37 lines) Patch
M src/pkg/os/dir_unix.go View 1 2 chunks +28 lines, -15 lines 0 comments Download
M src/pkg/os/dir_windows.go View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M src/pkg/os/file_unix.go View 1 2 chunks +20 lines, -7 lines 0 comments Download
M src/pkg/os/file_windows.go View 1 4 chunks +25 lines, -8 lines 0 comments Download
M src/pkg/os/os_test.go View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/pkg/os/path.go View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10
bradfitz
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
14 years ago (2011-05-13 18:22:20 UTC) #1
bradfitz
I'd like to add more tests for this but such tests would involve creating directories ...
14 years ago (2011-05-13 18:25:26 UTC) #2
r
LGTM but maybe wait for windows reviewer to check that part.
14 years ago (2011-05-13 18:26:49 UTC) #3
bradfitz
Yeah, the Windows stuff I just did blind. We really need to get docs on ...
14 years ago (2011-05-13 18:34:18 UTC) #4
brainman
LGTM. I couldn't test it properly, because build is broken at the moment: test go/scanner ...
14 years ago (2011-05-13 23:46:03 UTC) #5
bradfitz
On Fri, May 13, 2011 at 4:46 PM, <alex.brainman@gmail.com> wrote: > LGTM. > ... > ...
14 years ago (2011-05-13 23:48:20 UTC) #6
bsiegert
On Sat, May 14, 2011 at 02:40, brainman <alex.brainman@gmail.com> wrote: > There is no vi, ...
14 years ago (2011-05-14 17:10:35 UTC) #7
Joe Poirier
On May 14, 2011, at May 14 - 12:10 PM, Benny Siegert wrote: > On ...
14 years ago (2011-05-14 20:42:08 UTC) #8
rsc
LGTM http://codereview.appspot.com/4536058/diff/4001/src/pkg/os/dir_windows.go File src/pkg/os/dir_windows.go (right): http://codereview.appspot.com/4536058/diff/4001/src/pkg/os/dir_windows.go#newcode8 src/pkg/os/dir_windows.go:8: fis, e := file.Readdir(n) s/e/err/ throughout. it was ...
14 years ago (2011-05-16 16:13:33 UTC) #9
bradfitz
14 years ago (2011-05-16 16:26:22 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=0274c28dfc53 ***

os: make Readdir & Readdirnames return os.EOF at end

Fixes issue 678

R=rsc, r, alex.brainman, bsiegert, jdpoirier
CC=golang-dev
http://codereview.appspot.com/4536058
Sign in to reply to this message.

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