Skip site navigation (1)Skip section navigation (2)
Date:      04 Oct 2002 11:19:16 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Leo Bicknell <bicknell@ufp.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: inet_aton() Bug or feature?
Message-ID:  <1033696158.61118.13.camel@chowder.gsoft.com.au>
In-Reply-To: <20021004013814.GA70364@ussenterprise.ufp.org>
References:  <1136947159.20021003160026@yahoo.com> <20021003195515.GA92263@blossom.cjclark.org>  <20021004013814.GA70364@ussenterprise.ufp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-10-04 at 11:08, Leo Bicknell wrote:
> 0xffffff00       was hex,
> 0123456701234567 was octal,
> 010.010.010.010  was 4 decimal parts
> 
> I was very surprised from the poster that 192.168.0.010 might actually
> be 192.168.0.8.

I would imagine this behaviour is like it is because that is how atoi
and friends work..

All of this stuff was written by C programmers and it shows 8-)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1033696158.61118.13.camel>