Explorar el Código

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 hace 16 años
padre
commit
b226d0edba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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