httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject Re: [PATCH] for ErrorDocument (was: Re: [BUG]: "ErrorDocument appears to break in 1.2b7" on Solaris 2.x)
Date Sun, 02 Mar 1997 05:19:34 GMT
>From the fingers of Dean Gaudet flowed the following:
>
>Aw shoot.  Goofup in my optimization patch.  Try this.

    Does the trick here.  +1.

    #ken    :-)}

>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