From: Don Armstrong Date: Thu, 24 Sep 2009 22:11:46 +0000 (-0700) Subject: * move definition of sourcetobinary around X-Git-Tag: release/2.6.0~434^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=acada093a15e9890fcddfaddce5f4169c6759a8a;p=debbugs.git * move definition of sourcetobinary around --- diff --git a/Debbugs/Packages.pm b/Debbugs/Packages.pm index cc40310..6f12a30 100644 --- a/Debbugs/Packages.pm +++ b/Debbugs/Packages.pm @@ -162,7 +162,10 @@ binary_to_source. =cut +# the two global variables below are used to tie the source maps; we +# probably should be retying them in long lived processes. our %_binarytosource; +our %_sourcetobinary; sub binary_to_source{ my %param = validate_with(params => \@_, spec => {binary => {type => SCALAR|ARRAYREF, @@ -311,7 +314,6 @@ returned, without the architecture. =cut -our %_sourcetobinary; sub sourcetobinary { my ($srcname, $srcver) = @_;