Use MSG_NOSIGNAL in GSocket if it's available
authorDan Winship <danw@gnome.org>
Wed, 19 Aug 2009 16:12:06 +0000 (12:12 -0400)
committerDan Winship <danw@gnome.org>
Wed, 19 Aug 2009 16:12:15 +0000 (12:12 -0400)
commitcd5bd15987b573a436e715e59b0c651e50534bc1
tree8ac321ad25f1da2ac6b326dbbf8da690190bba23
parent021dd960cf9c02b0ea59cbfa1db603d3f9a467f0
Use MSG_NOSIGNAL in GSocket if it's available

Even though we ignore SIGPIPE, gdb will still stop when the process
receives one, which sometimes confuses people into thinking the app
has crashed (eg, bug 578984, bug 590420), and is annoying anyway. So
use MSG_NOSIGNAL if it's there.

http://bugzilla.gnome.org/show_bug.cgi?id=591378
gio/gsocket.c