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

Issue 4984050: code review 4984050: os: implemented os.Getpid, os.Link and os.Symlink for W...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by jp
Modified:
5 years, 1 month ago
Reviewers:
mattn
Visibility:
Public.

Description

os: implemented os.Getpid, os.Link, os.Symlink, os.Readlink for Windows

Patch Set 1 #

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

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

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

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

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

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

Total comments: 2

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

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

Total comments: 2

Patch Set 10 : diff -r 2302c9faa3ff https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 11 : diff -r f835b80d1304 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 12 : diff -r f835b80d1304 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -71 lines) Patch
M src/pkg/os/file_posix.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -35 lines 0 comments Download
M src/pkg/os/file_unix.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +35 lines, -0 lines 0 comments Download
M src/pkg/os/file_windows.go View 1 2 3 4 5 6 7 8 9 10 2 chunks +64 lines, -0 lines 0 comments Download
M src/pkg/os/stat_windows.go View 1 2 10 3 chunks +28 lines, -9 lines 0 comments Download
M src/pkg/path/filepath/path.go View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +8 lines, -11 lines 0 comments Download
M src/pkg/path/filepath/path_test.go View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -2 lines 0 comments Download
M src/pkg/syscall/syscall_windows.go View 1 2 3 4 5 6 7 8 9 10 4 chunks +30 lines, -5 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_386.go View 1 2 3 4 5 6 7 8 9 2 chunks +52 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_amd64.go View 1 2 3 4 5 6 7 8 9 2 chunks +52 lines, -0 lines 0 comments Download
M src/pkg/syscall/ztypes_windows.go View 1 2 3 4 5 6 7 8 9 10 2 chunks +28 lines, -9 lines 0 comments Download

Messages

Total messages: 22
jp
Hello golang-dev@googlegroups.com (cc: alex.brainman@gmail.com, golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 7 months ago (2011-09-06 08:35:30 UTC) #1
jp
added os.Readlink and the difference of os.Stat / os.Lstat
12 years, 7 months ago (2011-09-06 11:18:31 UTC) #2
mattn
AFAIK, minimum spec of go-windows is windows2000. Some APIs you add does not work on ...
12 years, 7 months ago (2011-09-06 11:28:40 UTC) #3
jp
On 2011/09/06 11:28:40, mattn wrote: Recently approved CL which uses API (GetFileAttributesEx) which is not ...
12 years, 7 months ago (2011-09-06 12:24:43 UTC) #4
mattn
Ah, it seems that msdn dropped windows2k from supported clients of windows family. windows2k have(had?) ...
12 years, 7 months ago (2011-09-06 12:46:24 UTC) #5
jp
On 2011/09/06 12:46:24, mattn wrote: > Ah, it seems that msdn dropped windows2k from supported ...
12 years, 7 months ago (2011-09-06 13:01:45 UTC) #6
jp
Added recover() to catch the panic of GetProcAddress(..., "CreateSymbolicLinkW") Also, TestEvalSymlinks (src\pkg\path\filepath\path_test.go) passes on Windows ...
12 years, 7 months ago (2011-09-06 22:07:52 UTC) #7
rsc
looks good. leaving for alex. http://codereview.appspot.com/4984050/diff/3035/src/pkg/os/file_plan9.go File src/pkg/os/file_plan9.go (right): http://codereview.appspot.com/4984050/diff/3035/src/pkg/os/file_plan9.go#newcode333 src/pkg/os/file_plan9.go:333: // Readlink reads the ...
12 years, 7 months ago (2011-09-07 18:10:20 UTC) #8
jp
PTAL
12 years, 7 months ago (2011-09-08 07:28:45 UTC) #9
mattn
LGTM On 2011/09/08 07:28:45, jp wrote: > PTAL
12 years, 7 months ago (2011-09-08 07:40:02 UTC) #10
brainman
Sorry for long delay. But I can't apply your changes anymore: codereview issue 4984050 is ...
12 years, 7 months ago (2011-09-13 06:00:12 UTC) #11
jp
On 2011/09/13 06:00:12, brainman wrote: > Sorry for long delay. But I can't apply your ...
12 years, 7 months ago (2011-09-13 07:35:01 UTC) #12
brainman
I think you have a few files missing now: INSTALL FAIL syscall make[1]: Entering directory ...
12 years, 7 months ago (2011-09-14 04:32:06 UTC) #13
jp
On 2011/09/14 04:32:06, brainman wrote: > I think you have a few files missing now: ...
12 years, 7 months ago (2011-09-14 07:01:01 UTC) #14
brainman
Everything builds now, but some tests fail. In path/filepath: --- FAIL: filepath_test.TestEvalSymlinks (0.03 seconds) symlink ...
12 years, 7 months ago (2011-09-15 23:15:26 UTC) #15
jp
On 2011/09/15 23:15:26, brainman wrote: Failed TestAbs seems not relevant to this change. Creating symlinks ...
12 years, 7 months ago (2011-09-15 23:59:31 UTC) #16
brainman
I do not like these changes. There are too many buts, for no real benefit ...
12 years, 7 months ago (2011-09-16 00:21:41 UTC) #17
jp
On 2011/09/16 00:21:41, brainman wrote: > I do not like these changes. There are too ...
12 years, 7 months ago (2011-09-16 00:24:38 UTC) #18
jp
On 2011/09/16 00:21:41, brainman wrote: > I do not like these changes. There are too ...
12 years, 7 months ago (2011-09-16 00:27:52 UTC) #19
jp
On 2011/09/16 00:27:52, jp wrote: > On 2011/09/16 00:21:41, brainman wrote: > > I do ...
12 years, 7 months ago (2011-09-16 00:34:13 UTC) #20
brainman
On 2011/09/16 00:34:13, jp wrote: > > > > println(filepath.Clean("\\\\q\\c$")) > > println(filepath.Clean("\\\\q\\c$\\")) > > ...
12 years, 7 months ago (2011-09-16 00:35:54 UTC) #21
rsc
11 years, 10 months ago (2012-06-03 04:32:15 UTC) #22

          
Sign in to reply to this message.

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