From: Jeff Trawick Date: Wed, 18 Jul 2012 17:58:11 +0000 (+0000) Subject: Fix compile break when SIGPIPE is not defined X-Git-Tag: 2.5.0-alpha~6631 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d6e6d1bdda6f2174a83e619395fc58d285fc248;p=thirdparty%2Fapache%2Fhttpd.git Fix compile break when SIGPIPE is not defined git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363029 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/firehose.c b/support/firehose.c index b59e4188a70..a8325c5792c 100644 --- a/support/firehose.c +++ b/support/firehose.c @@ -678,7 +678,9 @@ int main(int argc, const char * const argv[]) return 1; } +#ifdef SIGPIPE apr_signal_block(SIGPIPE); +#endif file = apr_pcalloc(pool, sizeof(file_rec)); apr_file_open_stderr(&file->file_err, pool);