From owner-freebsd-ports@FreeBSD.ORG Mon Jul 14 18:29:10 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED24106564A for ; Mon, 14 Jul 2008 18:29:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 25AA98FC1E for ; Mon, 14 Jul 2008 18:29:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 23553 invoked by uid 399); 14 Jul 2008 18:29:09 -0000 Received: from localhost (HELO ?192.168.0.18?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 14 Jul 2008 18:29:09 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <487B9AF1.7000901@FreeBSD.org> Date: Mon, 14 Jul 2008 11:29:05 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Alex Stangl References: <20080714180138.GA69006@scout.stangl.us> In-Reply-To: <20080714180138.GA69006@scout.stangl.us> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: MOVED has extra blank line, breaks portupdate-scan X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 18:29:10 -0000 Alex Stangl wrote: > /usr/ports/MOVED picked up an extra blank line on the end, apparently > in v1.1647. This breaks portupdate-scan, and maybe other things that > process this file. > > Is there any definitive document describing this file format? Not that I'm aware of. > If blank lines should be treated as equivalent to comments, then I > will issue a fix to portupdate-scan. As a general principle you should try to make any application robust in the fact of unexpected input. hth, Doug -- This .signature sanitized for your protection