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

Bug#513831: checks/copyright-file: some glitches



On Sun, 01 Feb 2009 16:47:02 +0100, gregor herrmann wrote:

> Looking at the code it seems that $_ gets "eaten" in
> checks/copyright-file, line 159, if --info is used. The attached
> patch saves $_ (but I guess the problem is more in lib/Tags.pm?).

I just saw Adam's last commit on #debian-qa ...

16:09 <CIA-6> lintian: adam * r42e0f31 lintian/ (debian/changelog lib/Util.pm): (log message trimmed)
16:09 <CIA-6> lintian: Use "local $_" in parse_dpkg_control to avoid stamping on the global version.
16:09 <CIA-6> lintian: Lintian::Tag::Info::_load_tag_data (called from ::New) in turn calls
16:09 <CIA-6> lintian: read_dpkg_control (and therefore parse_dpkg_control) which stamped on $_.
16:09 <CIA-6> lintian: As we now call Lintian::Tag::Info::new when outputting extended tag
16:09 <CIA-6> lintian: information using -i, doing so trampled on $_ in the current check script.

... which sounds either related or at least similar :)

Cheers,
gregor 
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Maryse Nicolai: n/a

Attachment: signature.asc
Description: Digital signature


Reply to: