httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject Re: before 1.3b3...
Date Thu, 13 Nov 1997 16:29:05 GMT
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?

    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