You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2004/05/10 21:30:44 UTC
cvs commit: apache-1.3/src/main http_config.c
bnicholes 2004/05/10 12:30:44
Modified: src/main http_config.c
Log:
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.
Revision Changes Path
1.169 +4 -0 apache-1.3/src/main/http_config.c
Index: http_config.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_config.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -r1.168 -r1.169
--- http_config.c 16 Feb 2004 22:29:33 -0000 1.168
+++ http_config.c 10 May 2004 19:30:43 -0000 1.169
@@ -1228,7 +1228,11 @@
* 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",