diff options
author | Guillem Jover <guillem@debian.org> | 2013-04-24 07:17:30 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-04-28 00:18:03 +0200 |
commit | 00514322d12f9d8612f940b9f2aff7cfddf2a952 (patch) | |
tree | a3002a983f91ee2272a5986979e85f7856eecf20 /scripts/dpkg-gensymbols.pl | |
parent | fc4f53c4b7d0837bef169ce7cdc0abec124f2d7d (diff) | |
download | dpkg-00514322d12f9d8612f940b9f2aff7cfddf2a952.tar.gz |
dpkg-gensymbols: Use closedir instead of close for directory handles
Diffstat (limited to 'scripts/dpkg-gensymbols.pl')
-rwxr-xr-x | scripts/dpkg-gensymbols.pl | 2 |
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; } } |