]> Cypherpunks repositories - gostls13.git/commit
internal/poll: loop on EINTR in Read on Darwin
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Nov 2017 23:24:12 +0000 (15:24 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 22 Nov 2017 02:27:19 +0000 (02:27 +0000)
commit3fec6da0ab544bfa3a3b3d9988df20739b40dd49
tree09a272b9759c1ff0b92782a8e02015cb6ca56f23
parent1e679ae2aafc3bc16417da4851c36c4a0722a3aa
internal/poll: loop on EINTR in Read on Darwin

Test is in os/signal package because the problem is signal related.

Fixes #22838.

Change-Id: I223eeebb5fbc972910737eddef8ab9784cb984a6
Reviewed-on: https://go-review.googlesource.com/79215
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/go/build/deps_test.go
src/internal/poll/fd_unix.go
src/os/signal/internal/pty/pty.go [new file with mode: 0644]
src/os/signal/signal_cgo_test.go [new file with mode: 0644]