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

[lintian] 01/02: spelling-error-in-binary: ignore ang/and



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 1e02bb17df87a3079517fcec81be77b2889247dd
Author: Michael Stapelberg <stapelberg@debian.org>
Date:   Sat Aug 15 21:54:16 2015 +0200

    spelling-error-in-binary: ignore ang/and
    
    The Go stdlib html/ package contains the string "ang;" (for the &ang;
    entity). Every program which directly or indirectly imports the html/
    package will hence end up with an unuseful spelling-error-in-binary
    lintian warning.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/binaries.pm | 1 +
 debian/changelog   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/checks/binaries.pm b/checks/binaries.pm
index fe02fee..3542611 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -364,6 +364,7 @@ sub run {
             'teH' => 1, # From #711207
             'tEH' => 1, # From #782902
             'tEh' => 1, # From #782902, too
+            'ang' => 1, # The Go stdlib html/ package contains "ang;"
         };
         my $tag_emitter
           = spelling_tag_emitter('spelling-error-in-binary', $file);
diff --git a/debian/changelog b/debian/changelog
index 2e01731..9acaca0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ lintian (2.5.37) UNRELEASED; urgency=medium
       "no-relro" and "no-fortify-functions" issues in
       binaries built by the go compiler, as it does not
       support these features.  (Closes: #795667)
+    + [NT] Apply patch from Michael Stapelberg to a
+      common false positive spelling mistake in "go"
+      binaries.  (Closes: #795614)
   * checks/fields.desc:
     + [JW] Use "an" (instead of "a") before "HTTP".
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: