don't auto-vivify info.
This commit is contained in:
parent
b015d205e3
commit
3915fb3951
@ -1,5 +1,5 @@
|
|||||||
# ex:ts=8 sw=4:
|
# ex:ts=8 sw=4:
|
||||||
# $OpenBSD: Logger.pm,v 1.5 2011/11/06 12:20:32 espie Exp $
|
# $OpenBSD: Logger.pm,v 1.6 2011/11/06 17:56:53 espie Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||||
#
|
#
|
||||||
@ -93,11 +93,13 @@ sub pathlist
|
|||||||
if ($w ne $v) {
|
if ($w ne $v) {
|
||||||
push(@l, $w);
|
push(@l, $w);
|
||||||
}
|
}
|
||||||
for my $m (keys %{$v->{info}->{MULTI_PACKAGES}}) {
|
if (defined $v->{info}) {
|
||||||
next if $m eq '-';
|
for my $m (keys %{$v->{info}->{MULTI_PACKAGES}}) {
|
||||||
my $w = DPB::PkgPath->new("$stem,$m");
|
next if $m eq '-';
|
||||||
if ($w ne $v) {
|
my $w = DPB::PkgPath->new("$stem,$m");
|
||||||
push(@l, $w);
|
if ($w ne $v) {
|
||||||
|
push(@l, $w);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return @l;
|
return @l;
|
||||||
|
Loading…
Reference in New Issue
Block a user