projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02437b2
)
only use siginterrupt() if it really exists on the platform
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 30 Oct 2003 07:32:04 +0000
(07:32 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 30 Oct 2003 07:32:04 +0000
(07:32 +0000)
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index
8ee2e96
..
b006c2b
100644
(file)
--- a/
tests/server/sws.c
+++ b/
tests/server/sws.c
@@
-537,6
+537,8
@@
int main(int argc, char *argv[])
#ifdef HAVE_SIGNAL
signal(SIGPIPE, sigpipe_handler);
+#endif
+#ifdef HAVE_SIGINTERRUPT
siginterrupt(SIGPIPE, 1);
#endif