httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1171847 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Date Fri, 16 Sep 2011 23:10:32 GMT
Author: fuankg
Date: Fri Sep 16 23:10:32 2011
New Revision: 1171847

URL: http://svn.apache.org/viewvc?rev=1171847&view=rev
Log:
Continue if the platform doesnt support file perms.

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=1171847&r1=1171846&r2=1171847&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Fri Sep 16 23:10:32 2011
@@ -365,7 +365,7 @@ static apr_status_t hm_file_update_stat(
     rv = apr_file_perms_set(path,
                             APR_FPROT_UREAD | APR_FPROT_GREAD |
                             APR_FPROT_WREAD);
-    if (rv && rv != APR_INCOMPLETE) {
+    if (rv && rv != APR_INCOMPLETE && rv != APR_ENOTIMPL) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s,
                      "Heartmonitor: Unable to set file permssions on %s",
                      path);
@@ -444,7 +444,7 @@ static apr_status_t hm_file_update_stats
     rv = apr_file_perms_set(path,
                             APR_FPROT_UREAD | APR_FPROT_GREAD |
                             APR_FPROT_WREAD);
-    if (rv && rv != APR_INCOMPLETE) {
+    if (rv && rv != APR_INCOMPLETE && rv != APR_ENOTIMPL) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s,
                      "Heartmonitor: Unable to set file permssions on %s",
                      path);



Mime
View raw message