httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1133158 - /httpd/httpd/trunk/modules/dav/fs/dbm.c
Date Tue, 07 Jun 2011 20:55:57 GMT
Author: sf
Date: Tue Jun  7 20:55:56 2011
New Revision: 1133158

URL: http://svn.apache.org/viewvc?rev=1133158&view=rev
Log:
Log a more obvious message if apr cannot load its dbm shared library.

Modified:
    httpd/httpd/trunk/modules/dav/fs/dbm.c

Modified: httpd/httpd/trunk/modules/dav/fs/dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/fs/dbm.c?rev=1133158&r1=1133157&r2=1133158&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/fs/dbm.c (original)
+++ httpd/httpd/trunk/modules/dav/fs/dbm.c Tue Jun  7 20:55:56 2011
@@ -95,6 +95,9 @@ static dav_error * dav_fs_dbm_error(dav_
     if (db == NULL) {
         errcode = 1;
         errstr = "Could not open property database.";
+        if (APR_STATUS_IS_EDSOOPEN(status))
+            ap_log_error(APLOG_MARK, APLOG_CRIT, status, ap_server_conf,
+            "The DBM driver could not be loaded");
     }
     else {
         (void) apr_dbm_geterror(db->file, &errcode, errbuf, sizeof(errbuf));



Mime
View raw message