apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Novy <n...@feld.cvut.cz>
Subject Re: [PATCH] Apache 2.0 and NetWare - compatibility issue (next try)
Date Fri, 23 Nov 2001 17:20:29 GMT
> --- apr_uri.c.orig	Sun Aug 19 18:17:42 2001
> +++ apr_uri.c	Fri Nov 23 00:00:57 2001
> @@ -230,7 +230,7 @@
>       * can be called more than once per request.
>       */
>      memset (uptr, '\0', sizeof(*uptr));
> -    uptr->is_initialized = 1;
> +    uptr->flags = APR_URI_FLAG_IS_INITIALIZED;
>  
>      /* We assume the processor has a branch predictor like most --
>       * it assumes forward branches are untaken and backwards are taken.  That's
> @@ -353,7 +353,7 @@
>       * can be called more than once per request.
>       */
>      memset (uptr, '\0', sizeof(*uptr));
> -    uptr->is_initialized = 1;
> +    uptr->is_initialized = APR_URI_FLAG_IS_INITIALIZED;
>      uptr->hostinfo = apr_pstrdup(p, hostinfo);
>  
>      /* We expect hostinfo to point to the first character of
> 

Sorry, forgot to change variable name in apr_uri.c.patch file. Corrected 
patch attached.

Pavel


Mime
View raw message