[lintian] 02/03: lib: Fix some typos in comments
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 74ff4f3119de354740901ff8ae4113183a879407
Author: Niels Thykier <niels@thykier.net>
Date: Sun Jun 28 17:06:47 2015 +0200
lib: Fix some typos in comments
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Lintian/Collect/Package.pm | 2 +-
lib/Lintian/Output/FullEWI.pm | 2 +-
lib/Lintian/Relation.pm | 2 +-
lib/Lintian/Tags.pm | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/Lintian/Collect/Package.pm b/lib/Lintian/Collect/Package.pm
index fbb86bc..69605da 100644
--- a/lib/Lintian/Collect/Package.pm
+++ b/lib/Lintian/Collect/Package.pm
@@ -549,7 +549,7 @@ sub _fetch_index_data {
#
# Sort in reverse order (allows pop instead of unshift)
@sorted = reverse sort keys %candidates;
- # Our prefered target
+ # Our preferred target
$target = pop @sorted;
foreach my $link (@sorted) {
diff --git a/lib/Lintian/Output/FullEWI.pm b/lib/Lintian/Output/FullEWI.pm
index 72dd665..513e07e 100644
--- a/lib/Lintian/Output/FullEWI.pm
+++ b/lib/Lintian/Output/FullEWI.pm
@@ -24,7 +24,7 @@ package Lintian::Output::FullEWI;
# Other than that, it is identical to the normal output.
#
# When parsing a lintian.log written in format, it is no longer
-# ambigious which package is referred to (even if --verbose is
+# ambiguous which package is referred to (even if --verbose is
# not used).
# This makes machine-parsing of the log easier, especially
# when using the parsed data with the Lintian::Lab API.
diff --git a/lib/Lintian/Relation.pm b/lib/Lintian/Relation.pm
index c6e146c..c401005 100644
--- a/lib/Lintian/Relation.pm
+++ b/lib/Lintian/Relation.pm
@@ -843,7 +843,7 @@ As an example:
# Will match (but only because there is a version)
$vrel->matches (qr/^pkg-\d \(.*\)$/, VISIT_PRED_FULL);
- # Will NOT match (there is no verson in the relation)
+ # Will NOT match (there is no version in the relation)
$uvrel->matches (qr/^pkg-\d \(.*\)$/, VISIT_PRED_FULL);
=item VISIT_OR_CLAUSE_FULL
diff --git a/lib/Lintian/Tags.pm b/lib/Lintian/Tags.pm
index fe01e96..aea037f 100644
--- a/lib/Lintian/Tags.pm
+++ b/lib/Lintian/Tags.pm
@@ -536,7 +536,7 @@ sub file_overrides {
# The override looks like the following:
# [[pkg-name] [arch-list] [pkg-type]:] <tag> [extra]
# - Note we do a strict package name check here because
- # parsing overrides is a bit ambigious (see #699628)
+ # parsing overrides is a bit ambiguous (see #699628)
if (
$override =~ m/\A (?: # start optional part
(\Q$info->{package}\E)? # optionally starts with package name -> $1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: