]> Cypherpunks repositories - gostls13.git/commit
internal/poll: merge a couple of common definitions
authorIan Lance Taylor <iant@golang.org>
Thu, 19 Mar 2020 20:52:14 +0000 (13:52 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 20 Mar 2020 00:27:02 +0000 (00:27 +0000)
commita0917eb959c881521e1407f90e27329f673d3e75
tree9988490184f5496a3f812f1182596a3335b2d7ed
parent7f3ca5dfebbf292580d292461815ee184fb32385
internal/poll: merge a couple of common definitions

(*FD).Shutdown and (*FD).RawControl were exactly identical in fd_unix.go
and fd_windows.go, so merge them into fd_posix.go.

Change-Id: Ie751edb06d293e08f1493682d6bc5f22e8f3e628
Reviewed-on: https://go-review.googlesource.com/c/go/+/224137
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/internal/poll/fd_posix.go
src/internal/poll/fd_unix.go
src/internal/poll/fd_windows.go