The following commit has been merged in the master branch:
commit 64bd8420e602d12009dd045eb980d6ba7324b3e6
Author: Modestas Vainius <[email protected]>
Date: Sat Jan 23 18:21:49 2010 +0200
Dpkg::Shlibs::SymbolFile::new(): do not allow undefined arch option.
diff --git a/scripts/Dpkg/Shlibs/SymbolFile.pm
b/scripts/Dpkg/Shlibs/SymbolFile.pm
index 2105ffe..cf3443c 100644
--- a/scripts/Dpkg/Shlibs/SymbolFile.pm
+++ b/scripts/Dpkg/Shlibs/SymbolFile.pm
@@ -80,7 +80,7 @@ sub new {
my $class = ref($this) || $this;
my $self = \%opts;
bless $self, $class;
- $self->{arch} = get_host_arch() unless exists $self->{arch};
+ $self->{arch} = get_host_arch() unless defined $self->{arch};
$self->clear();
if (exists $self->{file}) {
$self->load($self->{file}) if -e $self->{file};
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]