# it; it's needed to properly handle bugs which are
# erroneously assigned to the binary package, and we'll
# probably have it go away eventually.
- if (not keys %sourceversions) {
- push @archs, undef;
+ if (not keys %sourceversions and (not @archs or defined $archs[0])) {
+ @archs = (undef);
goto GET_SOURCE_VERSIONS;
}
}
my $common_headers='';
{
- local $a = 0;
- $common_headers = join('',map {$_.($a++%2?': ':"\n")} @common_headers);
+ my @tmp = @common_headers;
+ while (my ($key,$value) = splice(@tmp, 0,2)) {
+ $common_headers .= qq($key: $value\n);
+ }
}
if ($codeletter eq 'U') { # sent to -submitter
&htmllog("Message", "sent on", $data->{originator}, "$gBug#$ref.");