mirror of https://github.com/golang/go.git
internal/poll: correct function name in comment
Change-Id: I3b28a45e942a6d6032855758fcc41e4edd64aa32
GitHub-Last-Rev: 9c994bbee7
GitHub-Pull-Request: golang/go#39467
Reviewed-on: https://go-review.googlesource.com/c/go/+/237059
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
cd8f8026bb
commit
281f0ed7bf
|
|
@ -479,7 +479,7 @@ func DupCloseOnExec(fd int) (int, string, error) {
|
|||
return dupCloseOnExecOld(fd)
|
||||
}
|
||||
|
||||
// dupCloseOnExecUnixOld is the traditional way to dup an fd and
|
||||
// dupCloseOnExecOld is the traditional way to dup an fd and
|
||||
// set its O_CLOEXEC bit, using two system calls.
|
||||
func dupCloseOnExecOld(fd int) (int, string, error) {
|
||||
syscall.ForkLock.RLock()
|
||||
|
|
|
|||
Loading…
Reference in New Issue