httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [BUG]: "ErrorDocument appears to break in 1.2b7" on Solaris 2.x
Date Wed, 26 Feb 1997 08:10:59 GMT
Aw shoot.  Goofup in my optimization patch.  Try this.

Dean

Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.70
diff -c -3 -r1.70 http_core.c
*** http_core.c	1997/02/17 10:46:06	1.70
--- http_core.c	1997/02/26 07:59:44
***************
*** 120,125 ****
--- 120,131 ----
      int i;
    
      memcpy ((char *)conf, (const char *)base, sizeof(core_dir_config));
+     if( base->response_code_strings ) {
+ 	conf->response_code_strings = palloc(a,
+ 	    sizeof(*conf->response_code_strings) * RESPONSE_CODES );
+ 	memcpy( conf->response_code_strings, base->response_code_strings,
+ 	    sizeof(*conf->response_code_strings) * RESPONSE_CODES );
+     }
      
      conf->d = new->d;
      conf->d_is_matchexp = new->d_is_matchexp;


Mime
View raw message