pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Removed unnecessary code from c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/305c0724ccd7
branches: trunk
changeset: 494101:305c0724ccd7
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu May 19 11:06:18 2005 +0000
description:
Removed unnecessary code from checkpathname().
diffstat:
pkgtools/pkglint/files/pkglint.pl | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diffs (30 lines):
diff -r d4c8ea69716a -r 305c0724ccd7 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu May 19 11:02:03 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu May 19 11:06:18 2005 +0000
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.155 2005/05/19 11:02:03 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.156 2005/05/19 11:06:18 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf%netbsd.org@localhost>,
@@ -973,17 +973,6 @@
my ($whole);
checkperms($fname);
-
- if ($file =~ /$filesdir\//) {
- # ignore
- return true;
- }
-
- # FIXME: convert to load_file.
- open(IN, "< $opt_packagedir/$file") || return false;
- { local $/; $whole = <IN>; }
- close(IN);
- return true;
}
sub checklastline($) {
Home |
Main Index |
Thread Index |
Old Index