]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
Don't modify the SIGPIPE handler
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Aug 2008 21:32:13 +0000 (23:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Sep 2008 18:25:35 +0000 (20:25 +0200)
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.

pulse/pulse.c

index 81ea44376146735533b7888802f67f9c9a47d48d..53a25bdae3553280f3d378e46f7c656a26117292 100644 (file)
@@ -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);