httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@telebase.com>
Subject Re: cvs commit: apache/src mod_proxy.c (fwd)
Date Wed, 03 Jul 1996 14:31:43 GMT
As it says, one from gcc 2.7.2 under SunOS 4.1.4. Yes, it is ridiculous, but
you yourself asked for the fixes to these a couple of days ago.

The warning was a pointer from int type one.

Ben Laurie liltingly intones:
> 
> Chuck Murcko wrote:
> > From heap.ben.algroup.co.uk!arachnet-fw.algroup.co.uk!taz.hyperreal.com!hyperreal.com!owner-apache-cvs
Wed Jul  3 04:03:47 1996
> > Date: Tue, 2 Jul 1996 20:47:05 -0700
> > From: Chuck Murcko <chuck@hyperreal.com>
> > Message-Id: <199607030347.UAA06575@taz.hyperreal.com>
> > To: apache-cvs@hyperreal.com
> > Subject: cvs commit: apache/src mod_proxy.c
> > Sender: owner-apache-cvs@hyperreal.com
> > Precedence: bulk
> > 
> > chuck       96/07/02 20:47:04
> > 
> >   Modified:    src       mod_proxy.c
> >   Log:
> >   Submitted by:	Chuck Murcko
> >   Avoid warning under gcc 2.7.2 & SunOS 4.1.4.
> >   
> >   Revision  Changes    Path
> >   1.31      +1 -1      apache/src/mod_proxy.c
> >   
> >   Index: mod_proxy.c
> >   ===================================================================
> >   RCS file: /export/home/cvs/apache/src/mod_proxy.c,v
> >   retrieving revision 1.30
> >   retrieving revision 1.31
> >   diff -C3 -r1.30 -r1.31
> >   *** mod_proxy.c	1996/07/03 03:32:30	1.30
> >   --- mod_proxy.c	1996/07/03 03:47:03	1.31
> >   ***************
> >   *** 1246,1252 ****
> >         const char *p, *q;
> >     
> >         q = get_time();
> >   !     p = strerror(errno);
> >     
> >         if (err != NULL)
> >         {
> >   --- 1246,1252 ----
> >         const char *p, *q;
> >     
> >         q = get_time();
> >   !     (char *)p = strerror(errno);
> 
> This is ridiculous. What warning does this fix?
> 
> I do object to fixing invalid warnings (and I find it hard to believe that this
> one is valid) in the mainline code.
> 
> Cheers,
> 
> Ben.
> 
> >     
> >         if (err != NULL)
> >         {
> >   
> >   
> >   
> 
> -- 
> Ben Laurie                  Phone: +44 (181) 994 6435
> Freelance Consultant and    Fax:   +44 (181) 994 6472
> Technical Director          Email: ben@algroup.co.uk
> A.L. Digital Ltd,           URL: http://www.algroup.co.uk
> London, England.
> 

chuck
Chuck Murcko	N2K Inc.	Wayne PA	chuck@telebase.com
And now, on a lighter note:
Teamwork is essential -- it allows you to blame someone else.

Mime
View raw message