Branch: refs/heads/master
Home:
https://github.com/asalkeld/libqb
Commit: 79059bcae3bcecc5e8407dc78ede905a8a54d866
https://github.com/asalkeld/libqb/commit/79059bcae3bcecc5e8407dc78ede905a...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-10-21 (Sun, 21 Oct 2012)
Changed paths:
M lib/ipc_us.c
Log Message:
-----------
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 <asalkeld(a)redhat.com>