ref: 22de060b9329766e623587dc22594c4c54979db3
parent: ccc63f9ca4aedd941b0405020ad06e3bd3c7f365
author: Ori Bernstein <ori@markovcorp.com>
date: Thu Jun 22 13:16:24 EDT 2017
Remove sigpipe handler. It's useful, but we don't want it by default. Should add a good API for it, though.
--- a/lib/sys/bld.sub
+++ b/lib/sys/bld.sub
@@ -1,6 +1,5 @@
lib sys =
systypes.myr
- setup+posixy.myr
sys+freebsd-x64.myr
sys+netbsd-x64.myr
--- a/lib/sys/setup+posixy.myr
+++ /dev/null
@@ -1,15 +1,0 @@
-use "sys"
-
-pkg sys =
-;;
-
-const __init__ = {
- var sa, osa
-
- /* is there ever a time we care about sigpipe? */
- sa = [
- .handler = ({;} : byte#),
- .flags = sys.Sarestart,
- ]
- sys.sigaction(Sigpipe, &sa, &osa)
-}