Solaris based operating systems don't define MSG_NOSIGNAL and SO_NOSIGPIPE.
Solaris based operating systems don't define MSG_NOSIGNAL and SO_NOSIGPIPE.

They return SIGPIPE when send is used with a closed socket. A SIGPIPE handler
must be used or SIGPIPE should be set ignored with SIG_IGN. In this case send
returns -1 instead of a SIGPIPE. The setting to ignore SIGPIPE is global and
should be used only where it is absolutely necessary.

Signed-off-by: Angus Salkeld <86b65304d27d8de73dd7d624c33df7e088f8d94b@redhat.com>

rubenk/libqb,kgaillot/libqb,davidvossel/libqb,kgaillot/libqb,kgaillot/libqb,gao-yan/libqb,davidvossel/libqb,ClusterLabs/libqb,rubenk/libqb,gao-yan/libqb,ClusterLabs/libqb,ClusterLabs/libqb