Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid SIGPIPE errors on FreeBSD
  • Loading branch information
hintjens committed Jul 18, 2011
1 parent 3c030e4 commit 8769814
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions MAINTAINERS
@@ -1,5 +1,5 @@
Component: Atomic Operations
Maintainer: Martin Lucina
Maintainer: Martin Sustrik
Contact: mato@kotelna.sk

Component: Lock-free Algorithms
Expand Down Expand Up @@ -38,12 +38,12 @@ Component: Generic Infrastructure (context, mailbox, command, pipe)
Maintainer: Martin Sustrik
Contact: sustrik@250bpm.com

Component: Reference manual
Maintainer: Martin Lucina
Component: Documentation
Maintainer: Martin Sustrik
Contact: mato@kotelna.sk

Component: Autotools build system
Maintainer: Mikko Koppanen, Martin Lucina
Maintainer: Mikko Koppanen
Contact: mato@kotelna.sk

Component: MSVC build system
Expand Down
2 changes: 1 addition & 1 deletion src/tcp_socket.cpp
Expand Up @@ -162,7 +162,7 @@ int zmq::tcp_socket_t::open (fd_t fd_, uint64_t sndbuf_, uint64_t rcvbuf_)
errno_assert (rc == 0);
}

#ifdef ZMQ_HAVE_OSX || defined ZMQ_HAVE_FREEBSD
#if defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_FREEBSD
int set = 1;
int rc = setsockopt (s, SOL_SOCKET, SO_NOSIGPIPE, &set, sizeof (int));
errno_assert (rc == 0);
Expand Down

0 comments on commit 8769814

Please sign in to comment.