Bug#477057: lintian: Accept C-style comments in dpatch's 00list file
On Mon, Apr 21, 2008 at 12:32:01AM +0200, Rafael Laboissiere wrote:
> * Frank Lichtenheld <djpig@debian.org> [2008-04-21 00:02]:
>
> > On Sun, Apr 20, 2008 at 03:19:32PM +0200, Rafael Laboissiere wrote:
> > > C-style comments in dpatch's patches/00list files are allowed (see, e.g.
> > > "man dpatch" for an example). However, lintian wrongly complains with
> > > dpatch-index-references-non-existant-patch for lines containing
> > > "/* comment */".
> >
> > To be exact everything is allowed that gets transformed by cpp into a
> > valid list file. So we can either run it through cpp ourself (but
> > with which architecture defines?) or define a subset of features we
> > will accept.
>
> What about using "dpatch list-all"?
If you take a look at the code you will see that this is just a very big
cpp wrapper ;) The problem that the outcome of the test would depend on
the architecture you run lintian on remains.
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Reply to: