Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 10:11:00 +1000
From:      Greg Black <gjb@gbch.net>
To:        Matt Emmerton <matt@gsicomp.on.ca>
Cc:        Mark Andrews <Mark_Andrews@isc.org>, freebsd-stable@freebsd.org
Subject:   Re: Resolver doesn't like 1.2.3.04 in /etc/hosts
Message-ID:  <nospam-1130371860.98702@iliad.gbch.net>
In-Reply-To: <003b01c5da89$88c3df80$1200a8c0@gsicomp.on.ca>
References:  <nospam-1130364081.97337@iliad.gbch.net> <003b01c5da89$88c3df80$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-10-26, Matt Emmerton wrote:
> > On 2005-10-26, Mark Andrews wrote:
> > > Leading zeros are ambigious.  Some platforms treat them as octal
> > > others treat them as decimal.
> > 
> > There is nothing ambiguous about the example provided.  (Perhaps
> > it wasn't a good example, but it's always a bug if '04' is not
> > correctly decoded, regardless of the numeric base in use.)
> 
> Not to belittle the point, but '04' is invalid for base-2/3/4.

The bases discussed here were 8 and 10; my comment applied to
them.  As for base 3, I don't care what you write using it, I
won't be bothering about it.



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