summaryrefslogtreecommitdiff
path: root/lib/sys
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-06-22 17:16:24 -0700
committerOri Bernstein <ori@markovcorp.com>2017-06-22 17:16:58 -0700
commit22de060b9329766e623587dc22594c4c54979db3 (patch)
tree6c7848e2c61d509dbdb0e27bb1cb3f07da02899a /lib/sys
parentccc63f9ca4aedd941b0405020ad06e3bd3c7f365 (diff)
downloadmc-22de060b9329766e623587dc22594c4c54979db3.tar.gz
Remove sigpipe handler.
It's useful, but we don't want it by default. Should add a good API for it, though.
Diffstat (limited to 'lib/sys')
-rw-r--r--lib/sys/bld.sub1
-rw-r--r--lib/sys/setup+posixy.myr15
2 files changed, 0 insertions, 16 deletions
diff --git a/lib/sys/bld.sub b/lib/sys/bld.sub
index 7bdcc8a..554cfbb 100644
--- 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
diff --git a/lib/sys/setup+posixy.myr b/lib/sys/setup+posixy.myr
deleted file mode 100644
index 644a1c2..0000000
--- a/lib/sys/setup+posixy.myr
+++ /dev/null
@@ -1,15 +0,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)
-}