You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2012/07/18 19:58:11 UTC

svn commit: r1363029 - /httpd/httpd/trunk/support/firehose.c

Author: trawick
Date: Wed Jul 18 17:58:11 2012
New Revision: 1363029

URL: http://svn.apache.org/viewvc?rev=1363029&view=rev
Log:
Fix compile break when SIGPIPE is not defined

Modified:
    httpd/httpd/trunk/support/firehose.c

Modified: httpd/httpd/trunk/support/firehose.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/firehose.c?rev=1363029&r1=1363028&r2=1363029&view=diff
==============================================================================
--- httpd/httpd/trunk/support/firehose.c (original)
+++ httpd/httpd/trunk/support/firehose.c Wed Jul 18 17:58:11 2012
@@ -678,7 +678,9 @@ int main(int argc, const char * const ar
         return 1;
     }
 
+#ifdef SIGPIPE
     apr_signal_block(SIGPIPE);
+#endif
 
     file = apr_pcalloc(pool, sizeof(file_rec));
     apr_file_open_stderr(&file->file_err, pool);