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

Issue 2598041: code review 2598041: os: correct Stat S_ISDIR on Windows (Closed)

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

Description

Windows: os.Stat do misjudge whether is a directory. and also whether is a readonly file. This fix make 'goinstall' working on windows msys environment. (without msys, you need http://gist.github.com/635886) Fix Issue: http://code.google.com/p/go/issues/detail?id=960

Patch Set 1 #

Patch Set 2 : code review 2598041: Windows: os.Stat do misjudge whether is a directory. #

Patch Set 3 : code review 2598041: Windows: os.Stat do misjudge whether is a directory. #

Patch Set 4 : code review 2598041: Windows: os.Stat do misjudge whether is a directory. #

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

Messages

Total messages: 10
mattn
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, math-nuts@swtch.com), I'd like you to review this change.
14 years, 6 months ago (2010-10-20 06:27:58 UTC) #1
mattn
14 years, 6 months ago (2010-10-20 06:28:10 UTC) #2
mattn
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, math-nuts@swtch.com), Please take another look.
14 years, 6 months ago (2010-10-20 06:30:54 UTC) #3
rsc
This seems fine. Please drop the unnecessary ( ). Russ
14 years, 6 months ago (2010-10-20 15:17:53 UTC) #4
rsc1
You followed the directions quite literally. There's no need to cc math-nuts@swtch.com. Also, please change ...
14 years, 6 months ago (2010-10-20 15:45:29 UTC) #5
brainman
LGTM. Thanks for fixing my bug. I will remove "Fixes issue 960" from change description, ...
14 years, 6 months ago (2010-10-20 23:26:08 UTC) #6
brainman
*** Submitted as http://code.google.com/p/go/source/detail?r=fbf8685296f4 *** os: correct Stat S_ISDIR on Windows R=rsc, brainman CC=golang-dev http://codereview.appspot.com/2598041 ...
14 years, 6 months ago (2010-10-20 23:29:52 UTC) #7
mattn
Sorry. ok, Can I change description without changing issue number? On 2010/10/20 15:45:29, rsc1 wrote: ...
14 years, 6 months ago (2010-10-20 23:52:59 UTC) #8
brainman
> .. Can I change description without changing issue number? > Yes. "hg change 2598041" ...
14 years, 6 months ago (2010-10-21 00:13:19 UTC) #9
mattn
14 years, 6 months ago (2010-10-21 00:25:32 UTC) #10
> Also, I suggest you propose to install gomake.bat into $GOBIN on windows as
per
> your reference http://gist.github.com/635886. I'm not saying it is right way
to
> go, but would bring out everyone's opinion in the clear. We might also discuss
> what goinstall should do if there is no make and others installed on user
system
> too.

ok, I agree.
Sign in to reply to this message.

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