[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 e93e5ec59707ec13b90ad7a5de2cf720ccbeff8a
Author: Jakub Wilk <jwilk@debian.org>
Date:   Fri May 6 12:58:54 2016 +0200

    Fix typos
    
    s/can not/cannot/
---
 checks/binaries.pm                          | 2 +-
 checks/init.d.desc                          | 2 +-
 debian/changelog                            | 7 ++++++-
 lib/Lintian/DepMap.pm                       | 4 ++--
 t/scripts/Lintian/DepMap/04satisfiability.t | 6 +++---
 5 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/checks/binaries.pm b/checks/binaries.pm
index 5205f6d..207a5ab 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -363,7 +363,7 @@ sub run {
 
         # stripped?
         if ($fileinfo =~ m,\bnot stripped\b,o) {
-            # Is it an object file (which generally can not be
+            # Is it an object file (which generally cannot be
             # stripped), a kernel module, debugging symbols, or
             # perhaps a debugging package?
             unless ($fname =~ m,\.k?o$,
diff --git a/checks/init.d.desc b/checks/init.d.desc
index 1e19bb8..ec8b8a9 100644
--- a/checks/init.d.desc
+++ b/checks/init.d.desc
@@ -363,7 +363,7 @@ Severity: serious
 Certainty: possible
 Info: The given init script declares a dependency on a virtual facility
  that is not known to be provided by any init.d script in the archive.
- If the dependency can not be satisfied upon the package's
+ If the dependency cannot be satisfied upon the package's
  installation, insserv will refuse the activation of the init.d script.
 Ref: https://wiki.debian.org/LSBInitScripts
 
diff --git a/debian/changelog b/debian/changelog
index a4ad5b3..206c2c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ lintian (2.5.45) UNRELEASED; urgency=medium
     + [JW] Fix typos.
   * checks/info-files.desc:
     + [NT] Use "gzip -9n" rather than "gzip -9" in examples.
+  * checks/init.d.desc:
+    + [JW] Fix typo.
   * checks/manpages.desc:
     + [NT] Use "gzip -9n" rather than "gzip -9" in examples.
   * checks/scripts.{desc,pm}:
@@ -54,6 +56,9 @@ lintian (2.5.45) UNRELEASED; urgency=medium
   * doc/tutorial/Lintian/Tutorial/WritingTests.pod:
     + [JW] Fix formatting error.
 
+  * lib/Lintian/DepMap.pm:
+    + [JW] Fix typos.
+
   * reporting/config:
     + [NT] Remove "$COPY_DOCS" configuration option.  The
       html_reports now always copies the documentation.
@@ -16085,7 +16090,7 @@ lintian (1.20.4) unstable; urgency=low
 lintian (1.20.3) unstable; urgency=low
 
   * 'Does the pain ever end?' release
-  * oops, lintian can not create a static lab due to an error check too
+  * oops, lintian cannot create a static lab due to an error check too
     early in the code.  While fixing this I also added a static lab check in
     testset/runtests. Closes: #83411
 
diff --git a/lib/Lintian/DepMap.pm b/lib/Lintian/DepMap.pm
index 7a470a8..161ca11 100644
--- a/lib/Lintian/DepMap.pm
+++ b/lib/Lintian/DepMap.pm
@@ -301,7 +301,7 @@ sub unlink {
     my $node = shift;
 
     if (not exists($self->{'nodes'}{$node})) {
-        fail(  "Attempted to unlink node '$node' but it can not be found"
+        fail(  "Attempted to unlink node '$node' but it cannot be found"
               .', perhaps it has already been satisfied?');
     }
 
@@ -365,7 +365,7 @@ sub select {
 
 If a C<node> is specified returns TRUE if it can be select()ed.
 
-B<Note>: already select()ed nodes can not be re-selected,
+B<Note>: already select()ed nodes cannot be re-selected,
 i.e. if the given C<node> has already been selected this function will
 return FALSE; or any selected item will be omitted from the returned array,
 in case no C<node> is specified. 
diff --git a/t/scripts/Lintian/DepMap/04satisfiability.t b/t/scripts/Lintian/DepMap/04satisfiability.t
index 15dcec4..7fe08f6 100755
--- a/t/scripts/Lintian/DepMap/04satisfiability.t
+++ b/t/scripts/Lintian/DepMap/04satisfiability.t
@@ -11,11 +11,11 @@ my $obj = Lintian::DepMap->new;
 ok($obj->add('A', 'B'), 'Nodes can be added in any order');
 
 eval {$obj->satisfy('Z')};
-isnt($@, '', 'Nodes that were not added can not be satisfied');
+isnt($@, '', 'Nodes that were not added cannot be satisfied');
 
 eval {$obj->satisfy('B')};
 isnt($@, '',
-    'Nodes that were not added and are missing() can not be satisfied');
+    'Nodes that were not added and are missing() cannot be satisfied');
 
 ok(!$obj->satisfy('A'),
-    'Nodes can not be satisfied if they still have dependencies');
+    'Nodes cannot be satisfied if they still have dependencies');

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


Reply to: