summaryrefslogtreecommitdiff
path: root/scripts/dpkg-gensymbols.pl
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-04-24 07:17:30 +0200
committerGuillem Jover <guillem@debian.org>2013-04-28 00:18:03 +0200
commit00514322d12f9d8612f940b9f2aff7cfddf2a952 (patch)
treea3002a983f91ee2272a5986979e85f7856eecf20 /scripts/dpkg-gensymbols.pl
parentfc4f53c4b7d0837bef169ce7cdc0abec124f2d7d (diff)
downloaddpkg-00514322d12f9d8612f940b9f2aff7cfddf2a952.tar.gz
dpkg-gensymbols: Use closedir instead of close for directory handles
Diffstat (limited to 'scripts/dpkg-gensymbols.pl')
-rwxr-xr-xscripts/dpkg-gensymbols.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl
index f2cacc223..e553623f9 100755
--- a/scripts/dpkg-gensymbols.pl
+++ b/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;
}
}