www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: os-aix/725: The make process quits after an error in http_bprintf.c
Date Thu, 12 Jun 1997 16:30:01 GMT
The following reply was made to PR os-aix/725; it has been noted by GNATS.

From: Marc Slemko <marcs@znep.com>
To: Chris Moeller <Chris.Moeller@cmscc05.hamilton-co.org>
Subject: Re: os-aix/725: The make process quits after an error in http_bprintf.c
Date: Thu, 12 Jun 1997 10:28:37 -0600 (MDT)

 
 On Thu, 12 Jun 1997, Chris Moeller wrote:
 
 >         cc -c    -DAIX -U__STR__   http_bprintf.c                               
 > "http_bprintf.c", line 292.65: 1506-025 (S) Operand must be a modifiable lvalue.
 > The error code from the last failed command is 1.                               
 
 Try the patch at the end of this message.  It will probably still not
 compile properly, but it should help track down exactly what it doesn't
 like.  It looks to be a bug in the compiler, but we will see what we can
 do to work around it.
 
 The reason the previous PR was closed was because we had no way of
 replicating the problem or trying to fix it.  Hopefully we can with your
 help.
 
 Index: http_bprintf.c
 ===================================================================
 RCS file: /export/home/cvs/apache/src/http_bprintf.c,v
 retrieving revision 1.8
 diff -c -r1.8 http_bprintf.c
 *** http_bprintf.c	1997/02/16 07:44:14	1.8
 --- http_bprintf.c	1997/06/12 16:23:50
 ***************
 *** 289,295 ****
   		    else
   			{
   			p = memchr(charPtrArg, '\0', precision);
 ! 			buffReqd=(p == NULL) ? precision : p - charPtrArg;
   			}
   		    break;
   
 --- 289,299 ----
   		    else
   			{
   			p = memchr(charPtrArg, '\0', precision);
 ! 			buffReqd = 
 ! 				( (p == NULL) ? 
 ! 				  precision : 
 ! 				  (p - charPtrArg) 
 ! 				);
   			}
   		    break;
   
 
 

Mime
View raw message