From owner-freebsd-stable@FreeBSD.ORG Thu Oct 27 00:00:37 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EE1416A41F for ; Thu, 27 Oct 2005 00:00:37 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from skippyii.compar.com (skippyii.compar.com [216.208.38.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D95543D45 for ; Thu, 27 Oct 2005 00:00:36 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from hermes (CPE00062566c7bb-CM000039c69a66.cpe.net.cable.rogers.com [70.28.254.189]) by skippyii.compar.com (8.13.1/8.13.1) with ESMTP id j9R01Lhd046264; Wed, 26 Oct 2005 20:01:24 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <003b01c5da89$88c3df80$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "Greg Black" , "Mark Andrews" References: <200510261358.j9QDwaBb097354@drugs.dv.isc.org> Date: Wed, 26 Oct 2005 20:01:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: freebsd-stable@freebsd.org Subject: Re: Resolver doesn't like 1.2.3.04 in /etc/hosts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 00:00:37 -0000 > 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