MOVED has extra blank line, breaks portupdate-scan
Beech Rintoul
beech at freebsd.org
Mon Jul 14 18:38:44 UTC 2008
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 at 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
---------------------------------------------------------------------------------------
More information about the freebsd-ports
mailing list