]> Cypherpunks repositories - gostls13.git/commit
internal/poll, internal/syscall/unix, syscall: move writev definition for solaris
authorTobias Klauser <tklauser@distanz.ch>
Tue, 4 Oct 2022 11:53:46 +0000 (13:53 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 7 Oct 2022 16:48:38 +0000 (16:48 +0000)
commit5ca0cd3f1824f189b6c5edf59b669f22a393e2e1
treefa7ef497ea57333ad40e938ffd4a4f0d41022b3e
parentcabf9fe4f2d7e5adfa7007e11f508b111d07a2f6
internal/poll, internal/syscall/unix, syscall: move writev definition for solaris

Move the writev definition for solaris from package
internal/syscall/unix to package syscall. This corresponds to where
writev is defined on aix, darwin and openbsd as well and is
go:linkname'ed from internal/poll. This also allows updating the
generated wrappers more easily if needed.

Change-Id: I671ed8232d25319f8e63f549f786d77a17602148
Reviewed-on: https://go-review.googlesource.com/c/go/+/436597
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
src/internal/poll/fd_writev_libc.go
src/internal/poll/fd_writev_solaris.go [deleted file]
src/internal/syscall/unix/writev_solaris.go [deleted file]
src/syscall/syscall_solaris.go
src/syscall/zsyscall_solaris_amd64.go