Zack Weinberg <za...@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 (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to