Browse Source

* scripts/dpkg-shlibdeps.pl: Use new style file handler references.

Guillem Jover 19 years ago
parent
commit
7855e3b979
2 changed files with 6 additions and 2 deletions
  1. 4 0
      ChangeLog
  2. 2 2
      scripts/dpkg-shlibdeps.pl

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2007-03-13  Guillem Jover  <guillem@debian.org>
+
+	* scripts/dpkg-shlibdeps.pl: Use new style file handler references.
+
 2007-03-13  Guillem Jover  <guillem@debian.org>
 
 	* lib/compression.c (compress_cat): Support compress_type_lzma.

+ 2 - 2
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) {