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

Bug#818003: lintian: spurious povray: spelling-error-in-binary usr/bin/povray ressize resize



On Sat, 2016-03-12 at 19:39 +0100, Jakub Wilk wrote:
> * Niels Thykier <niels@thykier.net>, 2016-03-12, 18:28:
> >>The string that makes Lintian unhappy is:
> >>
> >>res.size() == static_cast<size_type>(w)
> >>
> >>This is of course false positive. I don't know why Lintian glued "res" 
> >>and "size" together despite the dot between them...
> >
> >I doubt that is the case.  The "spelling-error-in-binary" tag uses 
> >"strings -a" to get all strings and then checks those against its 
> >dictionary.
> 
> $ strings -a /usr/bin/povray | grep -wF res.size
> res.size() == static_cast<size_type>(w)
> 
> $ strings -a /usr/bin/povray | grep -wF res.size | spellintian
> ressize -> resize

check_spelling() has:

    for my $word (split(' ', $text)) {
        $word =~ tr/.,;:?!//d;

which looks relevant.

Regards,

Adam


Reply to: