projects
/
8sync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e9bd2
)
mingw: Avoid SIGPIPE.
author
Jan (janneke) Nieuwenhuizen
<janneke@gnu.org>
Fri, 30 Oct 2020 14:00:39 +0000
(15:00 +0100)
committer
Jan (janneke) Nieuwenhuizen
<janneke@gnu.org>
Thu, 18 Mar 2021 21:51:47 +0000
(22:51 +0100)
* 8sync/systems/web.scm (initialize): Only set SIGPIPE if it is
available.
8sync/systems/web.scm
patch
|
blob
|
history
diff --git
a/8sync/systems/web.scm
b/8sync/systems/web.scm
index 7381f1412e18638670d3735bafe39d77aeebc5f4..cde673787c05d47ab43b3ac4545aeaac1b6054c1 100644
(file)
--- a/
8sync/systems/web.scm
+++ b/
8sync/systems/web.scm
@@
-93,7
+93,8
@@
;; Andy Wingo added the line with this commit:
;; * module/web/server/http.scm (http-open): Ignore SIGPIPE. Keeps the
;; server from dying in some circumstances.
- (sigaction SIGPIPE SIG_IGN))
+ (when (defined? 'SIGPIPE)
+ (sigaction SIGPIPE SIG_IGN)))
;; @@: Borrowed from Guile itself / Fibers