> >I rolled 4.0.6RC1. It is ready for testing.
> >http://www.php.net/~andi/php-4.0.6RC1.tar.gz
> >
> >Please everyone take sometime to make sure this is release worthy :)
> 
> cgi version for win32 builds fine, apache module build gives errors:
> 
> F:\home\cvs-php\php-4.0.6RC1\sapi\apache\mod_php4.c(310) : error C2065:
> 'apache_globals' : undeclared identifier
> F:\home\cvs-php\php-4.0.6RC1\sapi\apache\mod_php4.c(310) : error C2223:
> left of '->in_request' must point to struct/union
> 
> The offending function:
> 
> static int php_apache_sapi_activate(SLS_D)
> {
>       request_rec *r = ((request_rec *) SG(server_context));
> 
>       /*
>        * For the Apache module version, this bit of code registers a
> cleanup
>        * function that gets triggered when our request pool is destroyed.
>        * We need this because at any point in our code we can be
> interrupted
>        * and that may happen before we have had time to free our memory.
>        * The php_request_shutdown function needs to free all outstanding
> allocated
>        * memory.  
>        */
>       block_alarms();
>       register_cleanup(((request_rec *) SG(server_context))->pool, NULL,
> php_apache_request_shutdown, php_request_shutdown_for_exec);
> >>>(line 310) AP(in_request)=1;
>       unblock_alarms();
> 
>       /* Override the default headers_only value - sometimes "GET"
> requests should actually only
>        * send headers.
>        */
>       SG(request_info).headers_only = r->header_only;
>       return SUCCESS;
> }
> 
> It misses the 
>       APLS_FETCH();
> at the beginning of the function, after adding this it builds fine.
> 
> 
> Cheerio, Marc.
> 
> 

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to