From: Bradley Nicholes Date: Mon, 10 May 2004 19:30:43 +0000 (+0000) Subject: Fix the wildcard includes on NetWare by calling opendir() with the original pattern... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c47733bb185aa1d83e249c214cf63a938edb09db;p=thirdparty%2Fapache%2Fhttpd.git Fix the wildcard includes on NetWare by calling opendir() with the original pattern. Otherwise NetWare returns a single directory entry rather than the directory contents. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103640 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/http_config.c b/src/main/http_config.c index 48396143288..6f56d4971c9 100644 --- a/src/main/http_config.c +++ b/src/main/http_config.c @@ -1228,7 +1228,11 @@ CORE_EXPORT(void) ap_process_resource_config(server_rec *s, char *fname, pool *p * for this. */ fprintf(stderr, "Processing config directory: %s\n", fname); +#ifdef NETWARE + dirp = ap_popendir(p, fname); +#else dirp = ap_popendir(p, path); +#endif if (dirp == NULL) { perror("fopen"); fprintf(stderr, "%s: could not open config directory %s\n",