diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:09:46 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:09:46 +0000 |
commit | 7dcf4e45963b2aff840ea53bde4012e3c6cac9f8 (patch) | |
tree | fe1a7053b879607c652cc9b6f4a38c72b1aa9439 /polyp/polyplib-context.c | |
parent | eacffc3e4d581f0fe57536e7ccfba7293623586c (diff) |
The standard declares some signals as optional. Make sure we handle
this gracefully.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@374 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-context.c')
-rw-r--r-- | polyp/polyplib-context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c index bca7d7ea..f54cabbe 100644 --- a/polyp/polyplib-context.c +++ b/polyp/polyplib-context.c @@ -110,8 +110,10 @@ struct pa_context *pa_context_new(struct pa_mainloop_api *mainloop, const char * c->autospawn_lock_fd = -1; memset(&c->spawn_api, 0, sizeof(c->spawn_api)); c->do_autospawn = 0; - + +#ifdef SIGPIPE pa_check_signal_is_blocked(SIGPIPE); +#endif c->conf = pa_client_conf_new(); pa_client_conf_load(c->conf, NULL); |