]> git.donarmstrong.com Git - debbugs.git/commitdiff
* move definition of sourcetobinary around
authorDon Armstrong <don@donarmstrong.com>
Thu, 24 Sep 2009 22:11:46 +0000 (15:11 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 24 Sep 2009 22:11:46 +0000 (15:11 -0700)
Debbugs/Packages.pm

index cc4031082ed191311fd36f184d0114bf19b81fc9..6f12a3032e09b7b416d1320b770b16510957cd3f 100644 (file)
@@ -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) = @_;