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 the word "possible" fro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7d05151946a2
branches: trunk
changeset: 511826:7d05151946a2
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Apr 23 09:48:53 2006 +0000
description:
Removed the word "possible" from the diagnostics, as the number of false
positives is near epsilon.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 6ad00925ad81 -r 7d05151946a2 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Apr 23 08:59:55 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Apr 23 09:48:53 2006 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.563 2006/04/23 08:59:55 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.564 2006/04/23 09:48:53 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -2776,7 +2776,7 @@
my $toolname = get_varname_to_toolname->{$toolvarname};
$addition = " and add USE_TOOLS+=${toolname} before this line";
}
- $line->log_warning("Possible direct use of tool \"${shellword}\". Please use \$\{$vartools->{$shellword}\} instead${addition}.");
+ $line->log_warning("Direct use of tool \"${shellword}\". Please use \$\{$vartools->{$shellword}\} instead${addition}.");
}
if ($state == SCST_START && exists(forbidden_commands->{$shellword})) {
@@ -4371,10 +4371,10 @@
my ($tag) = ($2);
if ($text =~ re_patch_uh) {
- $line->log_warning("Possible RCS tag \"\$${tag}\$\". Please remove it.");
+ $line->log_warning("Found RCS tag \"\$${tag}\$\". Please remove it.");
$line->set_text($1);
} else {
- $line->log_warning("Possible RCS tag \"\$${tag}\$\". Please remove it by reducing the number of context lines using pkgdiff or \"diff -U[210]\".");
+ $line->log_warning("Found RCS tag \"\$${tag}\$\". Please remove it by reducing the number of context lines using pkgdiff or \"diff -U[210]\".");
}
}
};
Home |
Main Index |
Thread Index |
Old Index