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

[lintian] 01/01: Fix typos



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

jwilk pushed a commit to branch master
in repository lintian.

commit fd66a191a5f83f17f5b7ea294a21bcc712643e06
Author: Jakub Wilk <jwilk@debian.org>
Date:   Sun Jul 10 11:53:32 2016 +0200

    Fix typos
---
 checks/files.pm                                               | 4 ++--
 checks/group-checks.pm                                        | 2 +-
 checks/md5sums.pm                                             | 2 +-
 checks/shared-libs.pm                                         | 2 +-
 commands/reporting-lintian-harness.pm                         | 2 +-
 commands/reporting-sync-state.pm                              | 2 +-
 debian/control                                                | 2 +-
 helpers/coll/objdump-info-helper                              | 2 +-
 lib/Lintian/Util.pm                                           | 2 +-
 t/debs/deb-format-extra-underscore-member-before-control/desc | 2 +-
 t/debs/deb-format-extra-underscore-member-before-data/desc    | 2 +-
 t/scripts/Lintian/Util/dctrl-parser.t                         | 2 +-
 t/source/debian-source-dir-traversal-1/desc                   | 2 +-
 t/source/debian-source-dir-traversal-2/desc                   | 2 +-
 t/tests/cruft-ancient-libtool/desc                            | 2 +-
 15 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/checks/files.pm b/checks/files.pm
index 45e00d4..90a83bf 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -318,7 +318,7 @@ sub run {
             unless ($fname =~ m,/$,) {
                 # Skip if $file is outside /usr/share/doc/$pkg directory
                 if ($fname !~ m,^usr/share/doc/\Q$pkg\E,) {
-                    # - except if it is an lintian override.
+                    # - except if it is a lintian override.
                     next
                       if $fname =~ m{\A
                             usr/share/lintian/overrides/$ppkg(?:\.gz)?
@@ -1183,7 +1183,7 @@ sub run {
             #
             # Another exception is made for .html and .php because
             # preserving working links is more important than saving
-            # some bytes, and because a package had a HTML form for
+            # some bytes, and because a package had an HTML form for
             # licenses called like that.  Another exception is made
             # for various picture formats since those are likely to
             # just be simply pictures.
diff --git a/checks/group-checks.pm b/checks/group-checks.pm
index 474c7aa..2810976 100644
--- a/checks/group-checks.pm
+++ b/checks/group-checks.pm
@@ -182,7 +182,7 @@ sub _check_multiarch {
     return;
 }
 
-## Encapsulate Tarjan's algorithm in an class/object to keep
+## Encapsulate Tarjan's algorithm in a class/object to keep
 ## the run sub somewhat sane.  Allow this "extra" package as
 ## it is not a proper subclass.
 #<<< no Perl tidy (it breaks the no critic comment)
diff --git a/checks/md5sums.pm b/checks/md5sums.pm
index 126eeae..d14d1ab 100644
--- a/checks/md5sums.pm
+++ b/checks/md5sums.pm
@@ -31,7 +31,7 @@ sub run {
     my $control = $info->control_index('md5sums');
     my (%control_entry, %info_entry);
 
-    # Is there a md5sums control file?
+    # Is there an md5sums control file?
     if (not $control) {
         # ignore if package contains no files
         return if -z $info->lab_data_path('md5sums');
diff --git a/checks/shared-libs.pm b/checks/shared-libs.pm
index a02d8e6..a833b09 100644
--- a/checks/shared-libs.pm
+++ b/checks/shared-libs.pm
@@ -740,7 +740,7 @@ sub format_soname {
 }
 
 # Returns a truth value if the first argument appears to be the path
-# to an libc nss plugin (libnss_<name>.so.$version).
+# to a libc nss plugin (libnss_<name>.so.$version).
 sub is_nss_plugin {
     my ($path) = @_;
     return 1 if $path =~ m,^(.*/)?libnss_[^.]+\.so\.\d+$,o;
diff --git a/commands/reporting-lintian-harness.pm b/commands/reporting-lintian-harness.pm
index ddb99e3..ad12945 100644
--- a/commands/reporting-lintian-harness.pm
+++ b/commands/reporting-lintian-harness.pm
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# Lintian reporting harness -- Run lintian against a archive mirror
+# Lintian reporting harness -- Run lintian against an archive mirror
 #
 # Copyright (C) 2015 Niels Thykier
 #
diff --git a/commands/reporting-sync-state.pm b/commands/reporting-sync-state.pm
index af3defc..255ce0b 100644
--- a/commands/reporting-sync-state.pm
+++ b/commands/reporting-sync-state.pm
@@ -425,7 +425,7 @@ sub prune_lintian_lab {
 # _open_data_file ($file)
 #
 # Opens $file if it exists, otherwise it tries common extensions (i.e. .gz) and opens
-# that instead.  It may pipe the file through a external decompressor, so the returned
+# that instead.  It may pipe the file through an external decompressor, so the returned
 # file descriptor cannot be assumed to be a file.
 #
 # If $file does not exists and no common extensions are found, this dies.  It may also
diff --git a/debian/control b/debian/control
index 1b35eb2..5971d6d 100644
--- a/debian/control
+++ b/debian/control
@@ -58,7 +58,7 @@ Build-Depends: aspell,
                perl,
 # pkg-php-tools is not available in Wheezy.  However, it is only used for
 # a test, so we can live with its absence in Wheezy.  The bash dependency
-# is just used as an "Wheezy indicator"-dependency.
+# is just used as a "Wheezy indicator"-dependency.
                pkg-php-tools (>= 1.5~) | bash (<< 4.2+dfsg-1~),
                po4a,
                python,
diff --git a/helpers/coll/objdump-info-helper b/helpers/coll/objdump-info-helper
index 83c9926..c7199b1 100755
--- a/helpers/coll/objdump-info-helper
+++ b/helpers/coll/objdump-info-helper
@@ -256,7 +256,7 @@ sub finish_file {
             print " $seg $ver $sym\n";
         }
     }
-    # Add an newline to end the current paragraph
+    # Add a newline to end the current paragraph
     print "\n";
 
     # reset variables
diff --git a/lib/Lintian/Util.pm b/lib/Lintian/Util.pm
index 56be971..fff29c9 100644
--- a/lib/Lintian/Util.pm
+++ b/lib/Lintian/Util.pm
@@ -440,7 +440,7 @@ sub visit_dpkg_paragraph {
             # message format identical.
             die join(q{ },
                 "syntax error at line $.:",
-                qq{End of file but expected a "END PGP SIGNATURE" header\n})
+                qq{End of file but expected an "END PGP SIGNATURE" header\n})
               unless $saw_end;
         }
         # other pgp control?
diff --git a/t/debs/deb-format-extra-underscore-member-before-control/desc b/t/debs/deb-format-extra-underscore-member-before-control/desc
index f6f7511..1e27271 100644
--- a/t/debs/deb-format-extra-underscore-member-before-control/desc
+++ b/t/debs/deb-format-extra-underscore-member-before-control/desc
@@ -1,5 +1,5 @@
 Testname: deb-format-extra-underscore-member-before-control
 Sequence: 6000
 Version: 1.0
-Description: Test package for an deb archive with an extra member with _ before control.tar
+Description: Test package for a deb archive with an extra member with _ before control.tar
 Test-For: misplaced-extra-member-in-deb
diff --git a/t/debs/deb-format-extra-underscore-member-before-data/desc b/t/debs/deb-format-extra-underscore-member-before-data/desc
index 8213b0e..18e5e11 100644
--- a/t/debs/deb-format-extra-underscore-member-before-data/desc
+++ b/t/debs/deb-format-extra-underscore-member-before-data/desc
@@ -1,5 +1,5 @@
 Testname: deb-format-extra-underscore-member-before-data
 Sequence: 6000
 Version: 1.0
-Description: Test package for an deb archive with an extra member with _ before data.tar
+Description: Test package for a deb archive with an extra member with _ before data.tar
 Test-For: misplaced-extra-member-in-deb
diff --git a/t/scripts/Lintian/Util/dctrl-parser.t b/t/scripts/Lintian/Util/dctrl-parser.t
index 8397338..5bfc7c4 100755
--- a/t/scripts/Lintian/Util/dctrl-parser.t
+++ b/t/scripts/Lintian/Util/dctrl-parser.t
@@ -17,7 +17,7 @@ my %TESTS_BAD = (
     'pgp-malformed-header' => qr/${syntax_error}: Malformed PGP header/,
 
     'pgp-two-signed-msgs' => qr/${syntax_error}: Expected at most one signed message \(previous at line \d+\)/,
-    'pgp-no-end-pgp-header' => qr/${syntax_error}: End of file but expected a "END PGP SIGNATURE" header/,
+    'pgp-no-end-pgp-header' => qr/${syntax_error}: End of file but expected an "END PGP SIGNATURE" header/,
     'pgp-leading-unsigned' => qr/${syntax_error}: PGP MESSAGE header must be first content if present/,
     'pgp-trailing-unsigned' => qr/${syntax_error}: Data after the PGP SIGNATURE/,
     'pgp-eof-missing-sign' => qr/${syntax_error}: End of file before "BEGIN PGP SIGNATURE"/,
diff --git a/t/source/debian-source-dir-traversal-1/desc b/t/source/debian-source-dir-traversal-1/desc
index 7c1598c..16686ff 100644
--- a/t/source/debian-source-dir-traversal-1/desc
+++ b/t/source/debian-source-dir-traversal-1/desc
@@ -1,4 +1,4 @@
 Testname: debian-source-dir-traversal-1
 Sequence: 6000
 Version: 1.0
-Description: Test for information discloure via d/source
+Description: Test for information disclosure via d/source
diff --git a/t/source/debian-source-dir-traversal-2/desc b/t/source/debian-source-dir-traversal-2/desc
index 5832730..4edbdff 100644
--- a/t/source/debian-source-dir-traversal-2/desc
+++ b/t/source/debian-source-dir-traversal-2/desc
@@ -1,4 +1,4 @@
 Testname: debian-source-dir-traversal-2
 Sequence: 6000
 Version: 1.0
-Description: Test for information discloure via d/source
+Description: Test for information disclosure via d/source
diff --git a/t/tests/cruft-ancient-libtool/desc b/t/tests/cruft-ancient-libtool/desc
index 4d748d2..6ce0971 100644
--- a/t/tests/cruft-ancient-libtool/desc
+++ b/t/tests/cruft-ancient-libtool/desc
@@ -1,6 +1,6 @@
 Testname: cruft-ancient-libtool
 Sequence: 6000
 Version: 1.0
-Description: Test that an very old ltmain.sh/ltconfig is detected correctly
+Description: Test that a very old ltmain.sh/ltconfig is detected correctly
 Test-For: ancient-libtool
 References: Debian Bug#293296

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


Reply to: