diff options
author | rillig <rillig> | 2008-02-21 12:16:09 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-02-21 12:16:09 +0000 |
commit | 13b327f7b71d4571f803a2a15fb2980b0c394033 (patch) | |
tree | 96461a40022a691435d89d80ca14c9564f1344b1 /pkgtools/pkglint/files | |
parent | afc2d8500b6e0d3da02f8026837104b8df174ba1 (diff) | |
download | pkgsrc-13b327f7b71d4571f803a2a15fb2980b0c394033.tar.gz |
Changed an assertion into a fatal error, which is effectively the same,
just without a stack trace. Fixes PR 38074.
Diffstat (limited to 'pkgtools/pkglint/files')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index e4bc3ab0f73..7d82a3f8d6a 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.764 2008/02/14 00:27:19 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.765 2008/02/21 12:16:09 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -3525,7 +3525,7 @@ sub parseline_mk($) { # This line is useless } else { - assert(false, "Unknown line format: " . $line->to_string()); + $line->log_fatal("Unknown line format: " . $line->to_string()); } } |