You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brad Nicholes <BN...@novell.com> on 2004/10/25 18:28:08 UTC

Re: cvs commit: httpd-2.0/server core.c protocol.c request.c scoreboard.c util.c util_script.c

   mod_cache is a different issue.  The compiler used to build the
netware NLMs is very sensitive to type mismatches.  

>   @@ -3793,7 +3794,7 @@
>        core_net_rec *net = f->ctx;
>        core_ctx_t *ctx = net->in_ctx;
>        const char *str;
>   -    apr_size_t len;
>   +    apr_ssize_t len;


Changing the type from apr_size_t to apr_ssize_t introduced a type
mismatch in the call to apr_bucket_read() which expects an apr_size_t. 
Type casting it back to an apr_size_t to fix the problem seems like it
would have defeated the whole purpose of doing it in the first place. 
Besides the fact that apr_bucket_read() can't give you back anything
bigger than an apr_size_t anyway.

Brad 

>>> ake1@us.ibm.com Monday, October 25, 2004 10:01:53 AM >>>
Brad Nicholes wrote:
> -1 as well.  This is now causing compiler errors on NetWare.  Please
> revert this patch!

Can you provide an indication of exactly what broke so we
will know what to avoid in future. Or was the breakage
actually due to the the mod_cache problem reported
last night?

Thanks, Allan