pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Fixed a little inconsistency (l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8600ffd36f40
branches:  trunk
changeset: 523225:8600ffd36f40
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jan 03 20:48:41 2007 +0000

description:
Fixed a little inconsistency (log_error/explain_warning).

diffstat:

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

diffs (19 lines):

diff -r 6f9069339016 -r 8600ffd36f40 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Jan 03 20:38:46 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Jan 03 20:48:41 2007 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.690 2007/01/02 23:01:24 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.691 2007/01/03 20:48:41 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -6980,7 +6980,7 @@
                        $check_text->($line->text);
                        if ($line->text =~ qr"\r$") {
                                $line->log_error("The hunk header must not end with a CR character.");
-                               $line->explain_warning(
+                               $line->explain_error(
                                        "The MacOS X patch utility cannot handle these.");
                        }
                        $hunks++;



Home | Main Index | Thread Index | Old Index