The following commit has been merged in the master branch:
commit 00514322d12f9d8612f940b9f2aff7cfddf2a952
Author: Guillem Jover <[email protected]>
Date:   Wed Apr 24 07:17:30 2013 +0200

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

diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl
index f2cacc2..e553623 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;
     }
 }
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to