diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-04-20 12:58:53 +0200 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-04-20 21:00:32 +0000 |
commit | 3f8e64878a93a1b005e1ff0f2a939bab826b8b9f (patch) | |
tree | 886502661327bf304e14fb6e10882e6d9190c4b4 /src/net | |
parent | dbade774c379393f76105242e69cdcf2ad32e5c3 (diff) | |
download | go-3f8e64878a93a1b005e1ff0f2a939bab826b8b9f.tar.gz go-3f8e64878a93a1b005e1ff0f2a939bab826b8b9f.zip |
internal/poll, net: fix comments regarding accept and sysSocket
The implementation of accept was moved from package net to internal/poll
in CL 36799.
Change-Id: I6e5964e0ee22e9c84bc444860cdd497817451fec
Reviewed-on: https://go-review.googlesource.com/c/go/+/311571
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/sock_cloexec.go | 4 | ||||
-rw-r--r-- | src/net/sys_cloexec.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/sock_cloexec.go b/src/net/sock_cloexec.go index efc91fdb53..6861c4bf63 100644 --- a/src/net/sock_cloexec.go +++ b/src/net/sock_cloexec.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// This file implements sysSocket and accept for platforms that -// provide a fast path for setting SetNonblock and CloseOnExec. +// This file implements sysSocket for platforms that provide a fast path for +// setting SetNonblock and CloseOnExec. //go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd // +build dragonfly freebsd illumos linux netbsd openbsd diff --git a/src/net/sys_cloexec.go b/src/net/sys_cloexec.go index 4d7112051f..a32483e2df 100644 --- a/src/net/sys_cloexec.go +++ b/src/net/sys_cloexec.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// This file implements sysSocket and accept for platforms that do not -// provide a fast path for setting SetNonblock and CloseOnExec. +// This file implements sysSocket for platforms that do not provide a fast path +// for setting SetNonblock and CloseOnExec. //go:build aix || darwin || (solaris && !illumos) // +build aix darwin solaris,!illumos |