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

Issue 1846044: code review 1846044: syscall Pipe for Windows

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by peterGo
Modified:
13 years, 9 months ago
Reviewers:
CC:
golang-dev
Visibility:
Public.

Description

syscall Pipe for Windows Does not fix ForkExec

Patch Set 1 #

Patch Set 2 : code review 1846044: syscall Pipe for Windows #

Total comments: 4

Patch Set 3 : code review 1846044: syscall Pipe for Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M src/pkg/syscall/syscall_windows.go View 1 2 4 chunks +21 lines, -2 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_386.go View 1 2 2 chunks +24 lines, -0 lines 0 comments Download
M src/pkg/syscall/ztypes_windows_386.go View 1 2 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 32
peterGo
Hello rsc, brainman (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 9 months ago (2010-07-15 22:28:54 UTC) #1
rsc1
http://codereview.appspot.com/1846044/diff/2001/3001 File src/pkg/syscall/syscall_windows.go (right): http://codereview.appspot.com/1846044/diff/2001/3001#newcode248 src/pkg/syscall/syscall_windows.go:248: ft, errno := GetFileType(uint32(fd)) I'm surprised SetFilePointer doesn't return ...
13 years, 9 months ago (2010-07-15 23:05:36 UTC) #2
brainman
On 2010/07/15 22:28:54, PeterGo wrote: > I'd like you to review this change. Do you ...
13 years, 9 months ago (2010-07-15 23:56:26 UTC) #3
brainman
> I'm surprised SetFilePointer doesn't return an error for pipes. > What does it do? ...
13 years, 9 months ago (2010-07-15 23:57:54 UTC) #4
peterGo
http://codereview.appspot.com/1846044/diff/2001/3001 File src/pkg/syscall/syscall_windows.go (right): http://codereview.appspot.com/1846044/diff/2001/3001#newcode248 src/pkg/syscall/syscall_windows.go:248: ft, errno := GetFileType(uint32(fd)) On 2010/07/15 23:05:36, rsc1 wrote: ...
13 years, 9 months ago (2010-07-15 23:58:12 UTC) #5
peterGo
On 2010/07/15 23:56:26, brainman wrote: > On 2010/07/15 22:28:54, PeterGo wrote: > > I'd like ...
13 years, 9 months ago (2010-07-16 04:29:11 UTC) #6
brainman
http://codereview.appspot.com/1846044/diff/2001/3001 File src/pkg/syscall/syscall_windows.go (right): http://codereview.appspot.com/1846044/diff/2001/3001#newcode398 src/pkg/syscall/syscall_windows.go:398: if errno == 0 { Peter. Why do you ...
13 years, 9 months ago (2010-07-18 23:54:39 UTC) #7
peterGo
http://codereview.appspot.com/1846044/diff/2001/3001 File src/pkg/syscall/syscall_windows.go (right): http://codereview.appspot.com/1846044/diff/2001/3001#newcode398 src/pkg/syscall/syscall_windows.go:398: if errno == 0 { On 2010/07/18 23:54:40, brainman ...
13 years, 9 months ago (2010-07-19 04:39:49 UTC) #8
brainman
On 2010/07/19 04:39:49, PeterGo wrote: > ... The value of errno may be zero; we ...
13 years, 9 months ago (2010-07-19 04:52:08 UTC) #9
peterGo
On 2010/07/19 04:52:08, brainman wrote: > On 2010/07/19 04:39:49, PeterGo wrote: > > > ...
13 years, 9 months ago (2010-07-20 03:23:47 UTC) #10
peterGo
If the other link is corrupted, try this one. Last-Error Code (Windows) http://msdn.microsoft.com/en-us/library/ms680347.aspx
13 years, 9 months ago (2010-07-20 03:28:28 UTC) #11
brainman
> The only thing that GetLastError function guarantees is that it will return the > ...
13 years, 9 months ago (2010-07-20 03:43:26 UTC) #12
peterGo
Alex, You are missing the point entirely; by design, it doesn't matter why. Whatever the ...
13 years, 9 months ago (2010-07-21 05:26:29 UTC) #13
brainman
> You are missing the point entirely; ... Perhaps. But I would like to see ...
13 years, 9 months ago (2010-07-21 06:04:01 UTC) #14
peterGo
Alex, This is a CL, which not the place to explain OS internals in detail, ...
13 years, 9 months ago (2010-07-22 01:00:53 UTC) #15
brainman
On 2010/07/22 01:00:53, PeterGo wrote: > It's quite simple; there's no mechanism in place to ...
13 years, 9 months ago (2010-07-22 01:33:01 UTC) #16
Joe Poirier
On 2010/07/22 01:33:01, brainman wrote: > On 2010/07/22 01:00:53, PeterGo wrote: > > > It's ...
13 years, 9 months ago (2010-07-22 03:37:00 UTC) #17
brainman
On 2010/07/22 03:37:00, Joe Poirier wrote: > It is possible for the returning windows function ...
13 years, 9 months ago (2010-07-22 03:59:23 UTC) #18
Joe Poirier
On Wed, Jul 21, 2010 at 10:59 PM, <alex.brainman@gmail.com> wrote: > On 2010/07/22 03:37:00, Joe ...
13 years, 9 months ago (2010-07-22 04:39:05 UTC) #19
brainman
On 2010/07/22 04:39:05, Joe Poirier wrote: > Okay, here's another example using FindWindowEx on Windows ...
13 years, 9 months ago (2010-07-22 04:55:13 UTC) #20
Joe Poirier
On Wed, Jul 21, 2010 at 11:55 PM, <alex.brainman@gmail.com> wrote: > On 2010/07/22 04:39:05, Joe ...
13 years, 9 months ago (2010-07-22 04:59:39 UTC) #21
brainman
> An added twist, there are instances where a function succeeds but > the GetLastError ...
13 years, 9 months ago (2010-07-22 05:01:14 UTC) #22
peterGo
Joe, On Jul 22, Joseph Poirier <jdpoir...@gmail.com> wrote: > IMHO, GetLastError codes should only be ...
13 years, 9 months ago (2010-07-22 10:53:39 UTC) #23
peterGo
Joe, On 2010/07/22 04:59:39, Joe Poirier wrote: > An added twist, there are instances where ...
13 years, 9 months ago (2010-07-22 14:50:55 UTC) #24
peterGo
Alex, On 2010/07/22 01:33:01, brainman wrote: > If you look at the actual code that ...
13 years, 9 months ago (2010-07-22 20:46:12 UTC) #25
peterGo
Alex, On 2010/07/22 05:01:14, brainman wrote: > > An added twist, there are instances where ...
13 years, 9 months ago (2010-07-22 20:48:06 UTC) #26
rsc
Please, enough of the sniping back and forth. We're all working toward the same goal. ...
13 years, 9 months ago (2010-07-22 21:16:49 UTC) #27
brainman
On 2010/07/22 21:16:49, rsc wrote: > ... This kind of thing, > because the situation ...
13 years, 9 months ago (2010-07-22 23:31:12 UTC) #28
peterGo
On 2010/07/22 21:16:49, rsc wrote: > The code in question says > > ok, errno ...
13 years, 9 months ago (2010-07-26 02:56:19 UTC) #29
peterGo
Hello rsc, brainman, Joe Poirier (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2010-07-26 02:56:54 UTC) #30
brainman
Peter, Unfortunately, I won't be able to accept your CL, because I will accept http://codereview.appspot.com/1666045/show ...
13 years, 9 months ago (2010-07-26 03:35:56 UTC) #31
rsc1
13 years, 9 months ago (2010-08-03 20:02:46 UTC) #32
removing reviewers
Sign in to reply to this message.

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