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

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



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