소스 검색

Merge trunk revision 2419:
r2419 | sdake | 2009-09-19 22:36:52 -0700 (Sat, 19 Sep 2009) | 2 lines

Fix sigpipe handling to ignore sigpipes on systems which support them.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2461 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 년 전
부모
커밋
b226d0edba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      exec/main.c

+ 1 - 1
exec/main.c

@@ -805,7 +805,7 @@ int main (int argc, char **argv)
 	(void)signal (SIGSEGV, sigsegv_handler);
 	(void)signal (SIGABRT, sigabrt_handler);
 	(void)signal (SIGQUIT, sigquit_handler);
-#if MSG_NOSIGNAL == 0
+#if MSG_NOSIGNAL != 0
 	(void)signal (SIGPIPE, SIG_IGN);
 #endif