From: Lennart Poettering Date: Thu, 21 Aug 2008 21:32:13 +0000 (+0200) Subject: Don't modify the SIGPIPE handler X-Git-Tag: v1.0.18rc3~23 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=10aac327d94ed32e05154d67f3a6df0529cb37dd;p=alsa-plugins.git Don't modify the SIGPIPE handler Since quite a while (2 years or so) PulsAudio doesn't require SIGPIPE anymore to be set to SIG_IGN. Since resetting this was incredibly ugly in the first place it is now time to get rid of this. --- diff --git a/pulse/pulse.c b/pulse/pulse.c index 81ea443..53a25bd 100644 --- a/pulse/pulse.c +++ b/pulse/pulse.c @@ -146,8 +146,6 @@ snd_pulse_t *pulse_new(void) fcntl(fd[0], F_SETFL, O_NONBLOCK); fcntl(fd[1], F_SETFL, O_NONBLOCK); - signal(SIGPIPE, SIG_IGN); /* Yes, ugly as hell */ - p->mainloop = pa_threaded_mainloop_new(); assert(p->mainloop);