httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: before 1.3b3...
Date Thu, 13 Nov 1997 17:52:39 GMT
On Thu, 13 Nov 1997, Martin Kraemer wrote:

> On Thu, Nov 13, 1997 at 08:28:10AM -0700, Marc Slemko wrote:
> > 
> > Problem is that I doubt we know all platforms where strtoul is around.
> > 
> > Why not just check what strtol returns and, if it is negative, say "gaa!"?
> > Gives better checking than strtoul.  In fact, check for 0 <= octet <=
> > 255...
> 
> So... What do you suggest? Replacing strtoul by strtol in the sources
> rather than via a #ifdef SUNOS4 #define?

Yes.  I see no need for strtoul, and we have no idea what platforms it
isn't on...

> 
>     Martin
> -- 
> | S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
> 


Mime
View raw message