pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/lintpkgsrc/files



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jul 16 10:11:39 UTC 2020

Modified Files:
        pkgsrc/pkgtools/lintpkgsrc/files: lintpkgsrc.pl

Log Message:
lintpkgsrc: use closedir() when using opendir()


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
diff -u pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.15 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.16
--- pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.15 Fri Dec 15 10:54:59 2017
+++ pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl      Thu Jul 16 10:11:39 2020
@@ -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 @@ sub list_pkgsrc_pkgdirs($$) {
           && $_ ne 'CVS'
           && substr( $_, 0, 1 ) ne '.',
         readdir(CAT) );
-    close(CAT);
+    closedir(CAT);
     @pkgdirs;
 }
 



Home | Main Index | Thread Index | Old Index