Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 20:01:00 -0400
From:      "Matt Emmerton" <matt@gsicomp.on.ca>
To:        "Greg Black" <gjb@gbch.net>, "Mark Andrews" <Mark_Andrews@isc.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Resolver doesn't like 1.2.3.04 in /etc/hosts
Message-ID:  <003b01c5da89$88c3df80$1200a8c0@gsicomp.on.ca>
References:  <Pine.GSO.4.62.0510261446330.1375@mail.ilrt.bris.ac.uk><200510261358.j9QDwaBb097354@drugs.dv.isc.org> <nospam-1130364081.97337@iliad.gbch.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

--
Matt Emmerton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003b01c5da89$88c3df80$1200a8c0>