[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#497215: lintian: False positives for prototype js warnings



On Sun, Aug 31, 2008 at 01:37:54AM +0200, Carl Fürstenberg wrote:
> On Sun, Aug 31, 2008 at 01:25, Raphael Geissert
> <atomo64+debian@gmail.com> wrote:
> > Carl Fürstenberg wrote:
> >> the check for embedded prototype javacsript library is prone to many
> >> false positives, as "prototype" is a pretty common word  in js-space,
> >> and also that it can be common for JavaScript files, using such library
> >> to be called libfoo-prototype.js etc...
> >
> > Do you mind providing at least one example?
> 
> See for example the horde3 package.

Simply anchoring the regexes, so that they actually need to match a full
filename instead of the end of one should probably take care of most
false positives.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: