Bug#534234: lintian: spelling-error-in-binary false positive on 'res.size'
Zack Weinberg <zackw@panix.com> writes:
> The binary /usr/bin/mtn (provided by the "monotone" package) contains
> a bunch of instances of the string "res.size", e.g.
>
> res.size() == static_cast<size_type>(w)
> database.cc:2122: I(res.size() <= 1)
> database.cc:3789: I(res.size() == 1)
>
> (These are debugging messages which appear in a logfile when assertions
> fail.) The spelling check appears to strip punctuation, so "res.size"
> becomes "ressize" and spelling-error-in-binary fires.
It should only be stripping periods and similar characters from the end
of words. This will be fixed in the next release.
> May I suggest that this check might be more reliable if applied to
> message catalogs instead of (or in addition to) binaries? 'msgunfmt'
> will convert a .mo file back to the textual .po format; unfortunately
> there is no way to tell it to print only the (assumed English) msgids
> and not the translations.
I think that with the bug fixed, applying it to binaries will still be
simpler.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: