httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r917759 - /httpd/httpd/trunk/server/config.c
Date Mon, 01 Mar 2010 22:19:33 GMT
Author: minfrin
Date: Mon Mar  1 22:19:33 2010
New Revision: 917759

URL: http://svn.apache.org/viewvc?rev=917759&view=rev
Log:
Make sure we request the APR_FINFO_TYPE on the apr_dir_read() for wildcard
configuration.

Modified:
    httpd/httpd/trunk/server/config.c

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=917759&r1=917758&r2=917759&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Mon Mar  1 22:19:33 2010
@@ -1704,7 +1704,7 @@
     }
 
     candidates = apr_array_make(ptemp, 1, sizeof(fnames));
-    while (apr_dir_read(&dirent, APR_FINFO_DIRENT, dirp) == APR_SUCCESS) {
+    while (apr_dir_read(&dirent, APR_FINFO_DIRENT | APR_FINFO_TYPE, dirp) == APR_SUCCESS)
{
         /* strip out '.' and '..' */
         if (strcmp(dirent.name, ".")
             && strcmp(dirent.name, "..")



Mime
View raw message