Browse files

Compile when SIGPIPE is not defined

Conflicts:
	s/server.cpp

Signed-off-by: Eric Milkie <milkie@10gen.com>
  • Loading branch information...
1 parent 7577f95 commit 6d021c86d38a1b117fa5f25fd0f6a3e82bd18f35 @tadmarshall tadmarshall committed with milkie Aug 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 s/server.cpp
View
2 s/server.cpp
@@ -142,7 +142,9 @@ namespace mongo {
#if defined(SIGBUS)
signal( SIGBUS , printStackAndExit );
#endif
+#if defined(SIGPIPE)
signal( SIGPIPE , SIG_IGN );
+#endif
}
void init() {

0 comments on commit 6d021c8

Please sign in to comment.