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

Bug#534234: lintian: spelling-error-in-binary false positive on 'res.size'



Package: lintian
Version: 2.2.12
Severity: minor


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.

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.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils               2.19.1-1          The GNU assembler, linker and bina
ii  diffstat               1.47-1            produces graph of changes introduc
ii  dpkg-dev               1.15.2            Debian package development tools
ii  file                   5.03-1            Determines file type using "magic"
ii  gettext                0.17-6            GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl        0.1.23            Perl interface to libapt-pkg
ii  libipc-run-perl        0.82-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2           parse Debian changelogs and output
ii  libtimedate-perl       1.1600-9          Time and date functions for Perl
ii  liburi-perl            1.37+dfsg-1       Manipulates and accesses URI strin
ii  man-db                 2.5.5-2           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.0-23         Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch            2.19.1-1   Binary utilities that support mult
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.5.5-2    on-line manual pager

-- no debconf information



Reply to: