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

Issue 3834042: code review 3834042: net: use closesocket() api instead of CloseHandle() on ... (Closed)

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

Description

net: use closesocket api instead of CloseHandle on Windows thanks to piotrnar for the original CL. Fixes issue 1371.

Patch Set 1 #

Patch Set 2 : code review 3834042: net: use closesocket() api instead of CloseHandle() on ... #

Patch Set 3 : code review 3834042: net: use closesocket() api instead of CloseHandle() on ... #

Patch Set 4 : code review 3834042: net: use closesocket api instead of CloseHandle on Windows #

Patch Set 5 : code review 3834042: net: use closesocket api instead of CloseHandle on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -42 lines) Patch
M src/pkg/net/fd.go View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/net/fd_windows.go View 1 11 chunks +27 lines, -36 lines 0 comments Download
M src/pkg/net/ipsock.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/sock.go View 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/net/tcpsock.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/unixsock.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/syscall/syscall_windows.go View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_386.go View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 5
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change.
14 years, 2 months ago (2011-01-10 01:03:22 UTC) #1
rsc
LGTM please drop () from text of CL. we know they're functions, and closesocket() is ...
14 years, 2 months ago (2011-01-11 16:54:37 UTC) #2
brainman
On 2011/01/11 16:54:37, rsc wrote: > ..., and > closesocket() is missing an argument. :-) ...
14 years, 2 months ago (2011-01-12 00:33:02 UTC) #3
rsc
On Tue, Jan 11, 2011 at 19:33, <alex.brainman@gmail.com> wrote: > On 2011/01/11 16:54:37, rsc wrote: ...
14 years, 2 months ago (2011-01-12 04:09:48 UTC) #4
brainman
14 years, 2 months ago (2011-01-12 04:55:25 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=b559e0fe1064 ***

net: use closesocket api instead of CloseHandle on Windows

thanks to piotrnar for the original CL.
Fixes issue 1371.

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

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