httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] AIX 3.x and http_bprintf.c
Date Sun, 29 Jun 1997 22:12:38 GMT
+1 for HEAD and 1.2.

Dean

On Sun, 29 Jun 1997, Marc Slemko wrote:

> http_bprintf.c doesn't compile on AIX 3.x using IBM's compiler because it
> is broken.  The following change works around it.
> 
> It is a bogus change to have to make, but... 
> 
> There have been several PRs on it.  For both HEAD and 1.2.
> 
> Index: http_bprintf.c
> ===================================================================
> RCS file: /export/home/cvs/apache/src/http_bprintf.c,v
> retrieving revision 1.9
> diff -c -r1.9 http_bprintf.c
> *** http_bprintf.c	1997/06/29 19:19:35	1.9
> --- http_bprintf.c	1997/06/29 21:00:57
> ***************
> *** 286,292 ****
>   		    else
>   			{
>   			p = memchr(charPtrArg, '\0', precision);
> ! 			buffReqd=(p == NULL) ? precision : p - charPtrArg;
>   			}
>   		    break;
>   
> --- 286,295 ----
>   		    else
>   			{
>   			p = memchr(charPtrArg, '\0', precision);
> ! 			if (p == NULL)
> ! 				buffReqd = precision;
> ! 			else
> ! 				buffReqd = p - charPtrArg;
>   			}
>   		    break;
>   
> 
> 


Mime
View raw message