Browse Source

dpkg-gensymbols: Use closedir instead of close for directory handles

Guillem Jover 13 years ago
parent
commit
00514322d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/dpkg-gensymbols.pl

+ 1 - 1
scripts/dpkg-gensymbols.pl

@@ -199,7 +199,7 @@ if (not scalar @files) {
 	    /(\.so\.|\.so$)/ && -f $_ &&
 	    Dpkg::Shlibs::Objdump::is_elf($_);
 	} map { "$libdir/$_" } readdir($libdir_dh);
-	close($libdir_dh);
+	closedir $libdir_dh;
     }
 }