pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files When loading .mk files, lines a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f46b9875efd
branches: trunk
changeset: 503094:3f46b9875efd
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Nov 14 04:30:31 2005 +0000
description:
When loading .mk files, lines are properly converted into logical lines.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 3c8b8401de84 -r 3f46b9875efd pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon Nov 14 04:25:50 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Mon Nov 14 04:30:31 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.349 2005/11/14 04:24:14 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.350 2005/11/14 04:30:31 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -2257,7 +2257,7 @@
log_subinfo("checkfile_mk", $fname, NO_LINE_NUMBER, undef);
checkperms($fname);
- if (!($lines = load_file($fname))) {
+ if (!($lines = load_lines($fname, true))) {
log_error($fname, NO_LINE_NUMBER, "Cannot be read.");
return;
}
Home |
Main Index |
Thread Index |
Old Index