From owner-freebsd-ports@FreeBSD.ORG Mon Jul 14 18:38:44 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 806C31065689 for ; Mon, 14 Jul 2008 18:38:44 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from bsdevel.alaskaparadise.com (bsdevel.alaskaparadise.com [208.86.224.193]) by mx1.freebsd.org (Postfix) with ESMTP id 601B78FC15 for ; Mon, 14 Jul 2008 18:38:44 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.alaskaparadise.com (132-34-178-69.gci.net [69.178.34.132]) by bsdevel.alaskaparadise.com (Postfix) with ESMTP id B8C1928E28A9; Mon, 14 Jul 2008 18:38:43 +0000 (UTC) From: Beech Rintoul To: freebsd-ports@freebsd.org Date: Mon, 14 Jul 2008 10:38:34 -0800 User-Agent: KMail/1.9.7 References: <20080714180138.GA69006@scout.stangl.us> <487B9AF1.7000901@FreeBSD.org> In-Reply-To: <487B9AF1.7000901@FreeBSD.org> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807141038.39197.beech@freebsd.org> Cc: Doug Barton , Alex Stangl Subject: Re: MOVED has extra blank line, breaks portupdate-scan X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beech Rintoul 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:38:44 -0000 On Monday 14 July 2008, Doug Barton said: > 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 I fixed it. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/7.0R/announce.html ---------------------------------------------------------------------------------------