httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apache-1.3/src/main http_config.c
Date Mon, 10 May 2004 19:30:44 GMT
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",
  
  
  

Mime
View raw message