You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2011/09/17 01:10:32 UTC

svn commit: r1171847 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

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);