]> Cypherpunks repositories - gostls13.git/commit
os, internal/poll: don't use splice with tty
authorIan Lance Taylor <iant@golang.org>
Tue, 14 Mar 2023 21:49:16 +0000 (14:49 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 15 Mar 2023 22:01:36 +0000 (22:01 +0000)
commitbe27fcfd2bfeda927213f334811df794d6a45872
tree299427c878d34694b14d11fe0bea36b93d0c9973
parent617cf132ae7f808aac2ecc6973074ed135e0d694
os, internal/poll: don't use splice with tty

Also don't try to wait for a non-pollable FD.

Fixes #59041

Change-Id: Ife469d8738f2cc27c0beba223bdc8f8bc757b2a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/476335
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/internal/poll/splice_linux.go
src/os/readfrom_linux.go
src/os/readfrom_linux_test.go