httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1363029 - /httpd/httpd/trunk/support/firehose.c
Date Wed, 18 Jul 2012 17:58:11 GMT
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);



Mime
View raw message