1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:27:57 -07:00
go/misc/cgo/testcarchive/testdata
Elias Naur d56a86e01f runtime: don't forward SIGPIPE on macOS
macOS and iOS deliver SIGPIPE signals to the main thread and not
the thread that raised it by writing to a closed socket or pipe.

SIGPIPE signals can be suppressed for sockets with the SO_NOSIGPIPE
option, but there is no similar option for pipes. We have no other
choice but to never forward SIGPIPE on macOS.

Fixes #33384

Change-Id: Ice3de75b121f00006ee11c26d560e619536460be
Reviewed-on: https://go-review.googlesource.com/c/go/+/188297
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-08-29 12:51:31 +00:00
..
libgo
libgo2
libgo3
libgo4
libgo6
p
main2.c
main3.c runtime: don't forward SIGPIPE on macOS 2019-08-29 12:51:31 +00:00
main4.c runtime, cmd/dist, misc/cgo: enable c-archive for aix/ppc64 2019-04-02 16:03:24 +00:00
main5.c runtime, cmd/dist, misc/cgo: enable c-archive for aix/ppc64 2019-04-02 16:03:24 +00:00
main6.c
main_unix.c
main_windows.c
main.c