Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: use closedir() w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81b42ca94677
branches:  trunk
changeset: 435825:81b42ca94677
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 16 10:11:39 2020 +0000

description:
lintpkgsrc: use closedir() when using opendir()

diffstat:

 pkgtools/lintpkgsrc/files/lintpkgsrc.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r db058b01d666 -r 81b42ca94677 pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Thu Jul 16 09:59:34 2020 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Thu Jul 16 10:11:39 2020 +0000
@@ -1,6 +1,6 @@
 #!@PERL5@
 
-# $NetBSD: lintpkgsrc.pl,v 1.15 2017/12/15 10:54:59 adam Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.16 2020/07/16 10:11:39 wiz Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -776,7 +776,7 @@
           && $_ ne 'CVS'
           && substr( $_, 0, 1 ) ne '.',
         readdir(CAT) );
-    close(CAT);
+    closedir(CAT);
     @pkgdirs;
 }
 



Home | Main Index | Thread Index | Old Index