From 649ab84654177211a7b4cd75b0e63d6c4af53134 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 12 Jun 2007 22:44:39 +0000 Subject: [PATCH] Don't do SIGPIPE handling on Windows. This commit was SVN r15025. --- orte/mca/iof/base/iof_base_endpoint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orte/mca/iof/base/iof_base_endpoint.c b/orte/mca/iof/base/iof_base_endpoint.c index bf534ab34d..1010ff3d88 100644 --- a/orte/mca/iof/base/iof_base_endpoint.c +++ b/orte/mca/iof/base/iof_base_endpoint.c @@ -369,6 +369,7 @@ int orte_iof_base_endpoint_create( OPAL_THREAD_LOCK(&orte_iof_base.iof_lock); +#if !defined(__WINDOWS__) /* If we haven't initialized the event yet, do so now */ if (!sigpipe_event_initialized) { opal_signal_set(&sigpipe_event, SIGPIPE, @@ -376,6 +377,7 @@ int orte_iof_base_endpoint_create( opal_signal_add(&sigpipe_event, NULL); sigpipe_event_initialized = true; } +#endif /* !defined(__WINDOWS__) */ if((endpoint = orte_iof_base_endpoint_lookup(proc,mode,tag)) != NULL) { OBJ_RETAIN(endpoint);