OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb673cb
)
obexd: Don't bother with trying to handle SIGPIPE
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 11 Jan 2013 17:45:40 +0000
(09:45 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 11 Jan 2013 17:45:40 +0000
(09:45 -0800)
obexd/src/main.c
patch
|
blob
|
history
diff --git
a/obexd/src/main.c
b/obexd/src/main.c
index
09a01b7
..
61a06b2
100644
(file)
--- a/
obexd/src/main.c
+++ b/
obexd/src/main.c
@@
-86,9
+86,6
@@
static gboolean signal_handler(GIOChannel *channel, GIOCondition cond,
case SIGUSR2:
__obex_log_enable_debug();
break;
- case SIGPIPE:
- /* ignore */
- break;
}
return TRUE;
@@
-105,7
+102,6
@@
static guint setup_signalfd(void)
sigaddset(&mask, SIGINT);
sigaddset(&mask, SIGTERM);
sigaddset(&mask, SIGUSR2);
- sigaddset(&mask, SIGPIPE);
if (sigprocmask(SIG_BLOCK, &mask, NULL) < 0) {
perror("Failed to set signal mask");