You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2017/10/24 03:20:56 UTC
svn commit: r1813116 - /httpd/httpd/trunk/os/unix/unixd.c
Author: jailletc36
Date: Tue Oct 24 03:20:56 2017
New Revision: 1813116
URL: http://svn.apache.org/viewvc?rev=1813116&view=rev
Log:
Fix compilation failure :
unixd.c: In function ‘ap_unixd_mpm_set_signals’:
unixd.c:579:5: error: implicit declaration of function ‘apr_signal’; did you mean ‘strsignal’? [-Werror=implicit-function-declaration]
apr_signal(SIGPIPE, SIG_IGN);
^~~~~~~~~~
strsignal
Not sure where it comes from, maybe related to r1812301.
Modified:
httpd/httpd/trunk/os/unix/unixd.c
Modified: httpd/httpd/trunk/os/unix/unixd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/os/unix/unixd.c?rev=1813116&r1=1813115&r2=1813116&view=diff
==============================================================================
--- httpd/httpd/trunk/os/unix/unixd.c (original)
+++ httpd/httpd/trunk/os/unix/unixd.c Tue Oct 24 03:20:56 2017
@@ -24,6 +24,7 @@
#include "os.h"
#include "ap_mpm.h"
#include "apr_thread_proc.h"
+#include "apr_signal.h"
#include "apr_strings.h"
#include "apr_portable.h"
#ifdef HAVE_PWD_H
@@ -180,7 +181,7 @@ static apr_status_t ap_unix_create_privi
** we force everything to be APR_PROGRAM, and never
** APR_SHELLCMD
*/
- if(apr_procattr_cmdtype_set(attr, APR_PROGRAM) != APR_SUCCESS) {
+ if (apr_procattr_cmdtype_set(attr, APR_PROGRAM) != APR_SUCCESS) {
return APR_EGENERAL;
}