Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2008 10:38:34 -0800
From:      Beech Rintoul <beech@freebsd.org>
To:        freebsd-ports@freebsd.org
Cc:        Doug Barton <dougb@freebsd.org>, Alex Stangl <alex@stangl.us>
Subject:   Re: MOVED has extra blank line, breaks portupdate-scan
Message-ID:  <200807141038.39197.beech@freebsd.org>
In-Reply-To: <487B9AF1.7000901@FreeBSD.org>
References:  <20080714180138.GA69006@scout.stangl.us> <487B9AF1.7000901@FreeBSD.org>

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






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