develooper Front page | perl.perl5.porters | Postings from January 2011

[perl #81816] [PATCH] Fix typos (spelling errors) in cpan/IO-Compress/*.

Thread Next
From:
perlbug-followup
Date:
January 7, 2011 03:55
Subject:
[perl #81816] [PATCH] Fix typos (spelling errors) in cpan/IO-Compress/*.
Message ID:
rt-3.6.HEAD-5425-1294384129-850.81816-75-0@perl.org
# New Ticket Created by  (Peter J. Acklam) 
# Please include the string:  [perl #81816]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81816 >


---
 cpan/IO-Compress/Changes                           |   16 ++++++++--------
 cpan/IO-Compress/lib/Compress/Zlib.pm              |    2 +-
 cpan/IO-Compress/lib/File/GlobMapper.pm            |    4 ++--
 cpan/IO-Compress/lib/IO/Compress/Deflate.pm        |    2 +-
 cpan/IO-Compress/lib/IO/Compress/Gzip.pm           |    2 +-
 cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm     |    2 +-
 cpan/IO-Compress/lib/IO/Compress/Zip.pm            |    4 ++--
 cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm   |    4 ++--
 .../IO-Compress/lib/IO/Uncompress/AnyUncompress.pm |    4 ++--
 cpan/IO-Compress/lib/IO/Uncompress/Base.pm         |    2 +-
 cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm      |    2 +-
 cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm       |    4 ++--
 cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm      |    4 ++--
 cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm   |    4 ++--
 cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm        |    4 ++--
 cpan/IO-Compress/pod/FAQ.pod                       |    2 +-
 cpan/IO-Compress/t/004gziphdr.t                    |    2 +-
 cpan/IO-Compress/t/compress/generic.pl             |    4 ++--
 cpan/IO-Compress/t/compress/tied.pl                |    2 +-
 cpan/IO-Compress/t/cz-03zlib-v1.t                  |    2 +-
 cpan/IO-Compress/t/cz-14gzopen.t                   |    2 +-
 21 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/cpan/IO-Compress/Changes b/cpan/IO-Compress/Changes
index f61463a..995f72b 100644
--- a/cpan/IO-Compress/Changes
+++ b/cpan/IO-Compress/Changes
@@ -117,7 +117,7 @@ CHANGES
 
   2.018 3 May 2009
 
-      * IO::Unompress::Bunzip2
+      * IO::Uncompress::Bunzip2
         - The interface to Compress-Raw-Bzip2 now uses the new LimitOutput
           feature. This will make all of the bzip2-related IO-Compress modules
           less greedy in their memory consumption. 
@@ -267,7 +267,7 @@ CHANGES
         FNAME & FCOMMENT fields for EBCDIC.
 
       * Compress::Zlib 
-        lib/Compress/Zlib.pm -- 1.x Backward Compatability issues
+        lib/Compress/Zlib.pm -- 1.x Backward Compatibility issues
         gzclose - documented return value was wrong, should be 0 for ok.
         gzflush - return value didn't match 1.x, should return 0 if ok.
         [rt.cpan.org #29215] and Debian bug #440943 http://bugs.debian.org/440943
@@ -363,7 +363,7 @@ CHANGES
       * Add an explicit use_ok test for Scalar::Util in the test harness.
         The error message reported by 01misc implied the problem was
         somewhere else.
-        Also explictly check that 'dualvar' is available.
+        Also explicitly check that 'dualvar' is available.
 
       * Compress::Zlib 
         - Fix append mode with gzopen.
@@ -386,7 +386,7 @@ CHANGES
         Thanks to Andreas J. Koenig for spotting the problem.
 
       * IO::Uncompress::AnyUncompress
-        Added IO::Uncompress::Lzf to the list of supported uncompresors.
+        Added IO::Uncompress::Lzf to the list of supported uncompressors.
 
       * IO::Uncompress::Base
         Added TrailingData to one-shot interface.
@@ -413,7 +413,7 @@ CHANGES
 
       * IO::Uncompress::UnZip
         Tighten up the zip64 extra field processing to cope with the case
-        wheere only some of the local header fields are superceeded.
+        where only some of the local header fields are superseded.
 
       * IO::Uncompress::AnyInflate
         Remove raw-deflate (RFC 1951) from the default list of compressors 
@@ -513,7 +513,7 @@ CHANGES
         Changed gzread so that its behaviour matches C::Z::gzread 1.x if it
         is called after eof. In this case it will write an empty string
         into the output parameter. This change is solely for backward
-        compatability reasons.
+        compatibility reasons.
 
   2.000_09 3 March 2006
 
@@ -667,7 +667,7 @@ Compress-Zlib version 1 Changes
   1.31 - 29 October 2003
 
       * Reinstated the creation of .bak files - $^I seems to need a
-        backup file on Windows. For OpenVMS, the extenstion _bak is used.
+        backup file on Windows. For OpenVMS, the extension _bak is used.
 
   1.30 - 28 October 2003
 
@@ -764,7 +764,7 @@ Compress-Zlib version 1 Changes
 
   1.13 - 31st June 2001
 
-      * Make sure config.in is consistant when released.
+      * Make sure config.in is consistent when released.
 
   1.12 - 28th April 2001
 
diff --git a/cpan/IO-Compress/lib/Compress/Zlib.pm b/cpan/IO-Compress/lib/Compress/Zlib.pm
index d4a5650..9a90d82 100644
--- a/cpan/IO-Compress/lib/Compress/Zlib.pm
+++ b/cpan/IO-Compress/lib/Compress/Zlib.pm
@@ -1007,7 +1007,7 @@ carry out in-memory gzip compression.
 This function is used to uncompress an in-memory gzip file.
 
     $dest = Compress::Zlib::memGunzip($buffer) 
-        or die "Cannot uncomprss: $gzerrno\n";
+        or die "Cannot uncompress: $gzerrno\n";
 
 If successful, it returns the uncompressed gzip file. Otherwise it
 returns C<undef> and the C<$gzerrno> variable will store the zlib error
diff --git a/cpan/IO-Compress/lib/File/GlobMapper.pm b/cpan/IO-Compress/lib/File/GlobMapper.pm
index 40a6063..76d4bed 100644
--- a/cpan/IO-Compress/lib/File/GlobMapper.pm
+++ b/cpan/IO-Compress/lib/File/GlobMapper.pm
@@ -31,7 +31,7 @@ $VERSION = '1.000';
 
 
 our ($noPreBS, $metachars, $matchMetaRE, %mapping, %wildCount);
-$noPreBS = '(?<!\\\)' ; # no preceeding backslash
+$noPreBS = '(?<!\\\)' ; # no preceding backslash
 $metachars = '.*?[](){}';
 $matchMetaRE = '[' . quotemeta($metachars) . ']';
 
@@ -309,7 +309,7 @@ sub _parseOutputGlob
             if $1 > $maxwild ;
     }
 
-    my $noPreBS = '(?<!\\\)' ; # no preceeding backslash
+    my $noPreBS = '(?<!\\\)' ; # no preceding backslash
     #warn "noPreBS = '$noPreBS'\n";
 
     #$string =~ s/${noPreBS}\$(\d)/\${$1}/g;
diff --git a/cpan/IO-Compress/lib/IO/Compress/Deflate.pm b/cpan/IO-Compress/lib/IO/Compress/Deflate.pm
index 58b61ab..39f1038 100644
--- a/cpan/IO-Compress/lib/IO/Compress/Deflate.pm
+++ b/cpan/IO-Compress/lib/IO/Compress/Deflate.pm
@@ -394,7 +394,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any compressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all compressed data will be appened to
+appending. If the output is a buffer, all compressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
diff --git a/cpan/IO-Compress/lib/IO/Compress/Gzip.pm b/cpan/IO-Compress/lib/IO/Compress/Gzip.pm
index 0e6ea99..217c416 100644
--- a/cpan/IO-Compress/lib/IO/Compress/Gzip.pm
+++ b/cpan/IO-Compress/lib/IO/Compress/Gzip.pm
@@ -512,7 +512,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any compressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all compressed data will be appened to
+appending. If the output is a buffer, all compressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
diff --git a/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm b/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm
index bec40e0..476f03e 100644
--- a/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm
+++ b/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm
@@ -481,7 +481,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any compressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all compressed data will be appened to
+appending. If the output is a buffer, all compressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
diff --git a/cpan/IO-Compress/lib/IO/Compress/Zip.pm b/cpan/IO-Compress/lib/IO/Compress/Zip.pm
index 00f4ed9..f4ff03e 100644
--- a/cpan/IO-Compress/lib/IO/Compress/Zip.pm
+++ b/cpan/IO-Compress/lib/IO/Compress/Zip.pm
@@ -893,7 +893,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any compressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all compressed data will be appened to
+appending. If the output is a buffer, all compressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -946,7 +946,7 @@ of the files C<alpha.txt> and C<beta.txt>
         or die "zip failed: $ZipError\n";
 
 Alternatively, rather than having to explicitly name each of the files that
-you want to comnpress, you could use a fileglob to select all the C<txt>
+you want to compress, you could use a fileglob to select all the C<txt>
 files in the current directory, as follows
 
     use strict ;
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm
index 37d2b16..2cacc3d 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm
@@ -371,7 +371,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any uncompressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all uncompressed data will be appened to
+appending. If the output is a buffer, all uncompressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -562,7 +562,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm b/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm
index c7d5031..2dae2ea 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm
@@ -480,7 +480,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any uncompressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all uncompressed data will be appened to
+appending. If the output is a buffer, all uncompressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -671,7 +671,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Base.pm b/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
index 2814163..7ab27b7 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
@@ -1445,7 +1445,7 @@ IO::Uncompress::Base - Base Class for IO::Uncompress modules
 =head1 DESCRIPTION
 
 This module is not intended for direct use in application code. Its sole
-purpose if to to be sub-classed by IO::Unompress modules.
+purpose if to to be sub-classed by IO::Uncompress modules.
 
 =head1 SEE ALSO
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm b/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm
index 288ead1..387e689 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm
@@ -521,7 +521,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm b/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm
index 4b10f4b..ffec7f9 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm
@@ -507,7 +507,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any uncompressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all uncompressed data will be appened to
+appending. If the output is a buffer, all uncompressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -698,7 +698,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm
index 27c1d85..3965010 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm
@@ -428,7 +428,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any uncompressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all uncompressed data will be appened to
+appending. If the output is a buffer, all uncompressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -619,7 +619,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm
index 12e915b..d417436 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm
@@ -576,7 +576,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any uncompressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all uncompressed data will be appened to
+appending. If the output is a buffer, all uncompressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -764,7 +764,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm b/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm
index fe75213..1fd44fb 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm
@@ -1009,7 +1009,7 @@ data to the output data stream.
 
 So when the output is a filehandle it will carry out a seek to the eof
 before writing any uncompressed data. If the output is a filename, it will be opened for
-appending. If the output is a buffer, all uncompressed data will be appened to
+appending. If the output is a buffer, all uncompressed data will be appended to
 the existing buffer.
 
 Conversely when C<Append> is not specified, or it is present and is set to
@@ -1206,7 +1206,7 @@ the module will allow reading of it anyway.
 
 In addition, if the input file/buffer does contain compressed data and
 there is non-compressed data immediately following it, setting this option
-will make this module treat the whole file/bufffer as a single data stream.
+will make this module treat the whole file/buffer as a single data stream.
 
 This option defaults to 1.
 
diff --git a/cpan/IO-Compress/pod/FAQ.pod b/cpan/IO-Compress/pod/FAQ.pod
index 671148d..205813e 100644
--- a/cpan/IO-Compress/pod/FAQ.pod
+++ b/cpan/IO-Compress/pod/FAQ.pod
@@ -335,7 +335,7 @@ To illustrate how to use C<InputLength> here is a script that walks a zip
 file and prints out how many lines are in each compressed file (if you
 intend write code to walking through a zip file for real see
 L<IO::Uncompress::Unzip/"Walking through a zip file"> ). Also, although
-this example uses the zlib-based comnpresion, the technique can be used by
+this example uses the zlib-based compression, the technique can be used by
 the other C<IO::Uncompress::*> modules.
 
     use strict;
diff --git a/cpan/IO-Compress/t/004gziphdr.t b/cpan/IO-Compress/t/004gziphdr.t
index 210d499..c6fd42a 100644
--- a/cpan/IO-Compress/t/004gziphdr.t
+++ b/cpan/IO-Compress/t/004gziphdr.t
@@ -479,7 +479,7 @@ for my $value ( "0D", "0A", "0A0D", "0D0A", "0A0A", "0D0D")
 }
 
 {
-    # Check Minimal + no comressed data
+    # Check Minimal + no compressed data
     # This is the smallest possible gzip file (20 bytes)
 
     ok my $x = new IO::Compress::Gzip $name, -Minimal => 1;
diff --git a/cpan/IO-Compress/t/compress/generic.pl b/cpan/IO-Compress/t/compress/generic.pl
index 54abab0..d74f0e1 100644
--- a/cpan/IO-Compress/t/compress/generic.pl
+++ b/cpan/IO-Compress/t/compress/generic.pl
@@ -347,7 +347,7 @@ EOM
               my $x ;
               my $uncomp ;
               my $stdinFileno = fileno(STDIN);
-              # open below doesn't return 1 sometines on XP
+              # open below doesn't return 1 sometimes on XP
                  open(SAVEIN, "<&STDIN");
               ok open(STDIN, "<$name"), "  redirect STDIN";
               my $dummy = fileno SAVEIN;
@@ -888,7 +888,7 @@ EOT
                 is $io->input_line_number, 2; 
                 ok $io->eof;
                 ok @lines == 2 
-                    or print "# exected 2 lines, got " . scalar(@lines) . "\n";
+                    or print "# executed 2 lines, got " . scalar(@lines) . "\n";
                 ok $lines[0] eq "This is an example\nof a paragraph\n\n\n"
                     or print "# [$lines[0]]\n" ;
                 ok $lines[1] eq "and a single line.\n\n";
diff --git a/cpan/IO-Compress/t/compress/tied.pl b/cpan/IO-Compress/t/compress/tied.pl
index 80d42b7..1ee4ff8 100644
--- a/cpan/IO-Compress/t/compress/tied.pl
+++ b/cpan/IO-Compress/t/compress/tied.pl
@@ -369,7 +369,7 @@ EOT
                 my @lines = <$io>;
                 ok $io->eof;
                 ok @lines == 2 
-                    or print "# exected 2 lines, got " . scalar(@lines) . "\n";
+                    or print "# executed 2 lines, got " . scalar(@lines) . "\n";
                 ok $lines[0] eq "This is an example\nof a paragraph\n\n\n"
                     or print "# [$lines[0]]\n" ;
                 ok $lines[1] eq "and a single line.\n\n";
diff --git a/cpan/IO-Compress/t/cz-03zlib-v1.t b/cpan/IO-Compress/t/cz-03zlib-v1.t
index cb9ff1f..677d141 100644
--- a/cpan/IO-Compress/t/cz-03zlib-v1.t
+++ b/cpan/IO-Compress/t/cz-03zlib-v1.t
@@ -494,7 +494,7 @@ EOM
     ok ! defined $ungzip ;
     cmp_ok $gzerrno, "==", Z_DATA_ERROR ;
 
-    # corrupt header - reserverd bits used
+    # corrupt header - reserved bits used
     $bad = $keep ;
     substr($bad, 3, 1) = "\xFF" ;
     $ungzip = memGunzip(\$bad) ;
diff --git a/cpan/IO-Compress/t/cz-14gzopen.t b/cpan/IO-Compress/t/cz-14gzopen.t
index fa05a9f8..89b04ff 100644
--- a/cpan/IO-Compress/t/cz-14gzopen.t
+++ b/cpan/IO-Compress/t/cz-14gzopen.t
@@ -249,7 +249,7 @@ EOM
 }
 
 {
-    title "a text file which is not termined by an EOL";
+    title "a text file which is not terminated by an EOL";
     
     my $lex = new LexFile my $name ;
     
-- 
1.7.3.3


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About