Check for SIGPIPE
Check for SIGPIPE

Don't try to trap SIGPIPE if you're on a platform that doesn't support it (like
Windows).

defunkt/gist,zmwangx/gist,eLobato/gist,roxyboy/gist,mofodox/gist,dLobatog/gist