From: Guillem Jover Date: Tue, 13 Mar 2007 02:28:31 +0000 (+0000) Subject: * scripts/dpkg-shlibdeps.pl: Use new style file handler references. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7855e3b9796d782bd72025d3b3020af224e52132;p=dpkg * scripts/dpkg-shlibdeps.pl: Use new style file handler references. --- diff --git a/ChangeLog b/ChangeLog index 2e1696c0..74db8897 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-13 Guillem Jover + + * scripts/dpkg-shlibdeps.pl: Use new style file handler references. + 2007-03-13 Guillem Jover * lib/compression.c (compress_cat): Support compress_type_lzma. diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index 8b4da006..d79a8375 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -417,9 +417,9 @@ if (!$stdout) { } elsif ($! != ENOENT) { syserr(sprintf(_g("open old varlist file \`%s' for reading"), $varlistfile)); } - $fh= 'Y'; + $fh = \*Y; } else { - $fh= 'STDOUT'; + $fh = \*STDOUT; } my %defdepf; for my $dv (sort keys %predefdepfdep) {