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:
5a053ff
)
curl: ignore SIGPIPE - compilation fix
author
Yang Tse
<yangsita@gmail.com>
Wed, 9 Jan 2013 00:30:08 +0000
(
01:30
+0100)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 9 Jan 2013 00:30:08 +0000
(
01:30
+0100)
src/tool_main.c
patch
|
blob
|
history
diff --git
a/src/tool_main.c
b/src/tool_main.c
index
ec65176
..
c4121b2
100644
(file)
--- a/
src/tool_main.c
+++ b/
src/tool_main.c
@@
-87,8
+87,8
@@
int main(int argc, char *argv[])
main_checkfds();
-#ifdef
HAVE_SIGNAL
- signal(SIGPIPE, SIG_IGN);
+#ifdef
SIGPIPE
+
(void)
signal(SIGPIPE, SIG_IGN);
#endif
res = operate(&config, argc, argv);