Author: adam-guest
Date: 2008-04-07 08:34:45 +0000 (Mon, 07 Apr 2008)
New Revision: 1282
Modified:
trunk/debian/changelog
trunk/scripts/debchange.pl
Log:
+ Fix uninitialised variable warning if Uploaders is empty
(Closes: #474687)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-07 08:26:17 UTC (rev 1281)
+++ trunk/debian/changelog 2008-04-07 08:34:45 UTC (rev 1282)
@@ -14,6 +14,8 @@
+ Fix NEWS files in combination with NMU versioning
+ Do not trigger NMU detection if the current changelog was authored
by the current user
+ + Fix uninitialised variable warning if Uploaders is empty
+ (Closes: #474687)
* debian/control:
+ Move devscripts-el back to Suggests as it doesn't fit the definition
of something we should be Recommending
Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl 2008-04-07 08:26:17 UTC (rev 1281)
+++ trunk/scripts/debchange.pl 2008-04-07 08:34:45 UTC (rev 1282)
@@ -678,7 +678,7 @@
my $parser = new Parse::DebControl;
my $deb822 = $parser->parse_file('debian/control', { });
- my $uploader = $deb822->[0]->{'Uploaders'};
+ my $uploader = $deb822->[0]->{'Uploaders'} || '';
my $maintainer = $deb822->[0]->{'Maintainer'};
my @uploaders = split(/,\s+/, $uploader);
--
To unsubscribe, send mail to [EMAIL PROTECTED]