Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Fix typos (spelling errors) in cpan/Compress-Raw-*. #10953

Closed
p5pRT opened this issue Jan 7, 2011 · 4 comments
Closed

[PATCH] Fix typos (spelling errors) in cpan/Compress-Raw-*. #10953

p5pRT opened this issue Jan 7, 2011 · 4 comments

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Jan 7, 2011

Migrated from rt.perl.org#81782 (status was 'resolved')

Searchable as RT81782$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 7, 2011

From @pjacklam


cpan/Compress-Raw-Bzip2/Changes | 2 +-
cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h | 2 +-
cpan/Compress-Raw-Bzip2/pod/FAQ.pod | 2 +-
cpan/Compress-Raw-Zlib/Changes | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/deflate.h | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/inftrees.h | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/trees.c | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/zlib.h | 4 ++--
8 files changed, 9 insertions(+), 9 deletions(-)

Inline Patch
diff --git a/cpan/Compress-Raw-Bzip2/Changes b/cpan/Compress-Raw-Bzip2/Changes
index f266a79..dc300c8 100644
--- a/cpan/Compress-Raw-Bzip2/Changes
+++ b/cpan/Compress-Raw-Bzip2/Changes
@@ -29,7 +29,7 @@ CHANGES
         [RT# 47225]
 
       * Fixed instance where $[ should have been $] in t/01bzip2.t
-        Thanks to Robin Barker and zefram [RT #50764] for independantly
+        Thanks to Robin Barker and zefram [RT #50764] for independently
         spotting the issue.
 
   2.021 30 August 2009
diff --git a/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h b/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h
index 8277123..1cd403d 100644
--- a/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h
+++ b/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h
@@ -71,7 +71,7 @@ typedef
 #endif
 
 #ifndef BZ_NO_STDIO
-/* Need a definitition for FILE */
+/* Need a definition for FILE */
 #include <stdio.h>
 #endif
 
diff --git a/cpan/Compress-Raw-Bzip2/pod/FAQ.pod b/cpan/Compress-Raw-Bzip2/pod/FAQ.pod
index 3c7e9e5..6bfd5f8 100644
--- a/cpan/Compress-Raw-Bzip2/pod/FAQ.pod
+++ b/cpan/Compress-Raw-Bzip2/pod/FAQ.pod
@@ -39,7 +39,7 @@ available
 
 See previous FAQ item.
 
-If the C<Archive::Tar> module is instaled and either the C<uncompress> or
+If the C<Archive::Tar> module is installed and either the C<uncompress> or
 C<gunzip> programs are available, you can use one of these workarounds to
 read C<.tar.Z> files.
 
diff --git a/cpan/Compress-Raw-Zlib/Changes b/cpan/Compress-Raw-Zlib/Changes
index 74e1da6..47cd20d 100644
--- a/cpan/Compress-Raw-Zlib/Changes
+++ b/cpan/Compress-Raw-Zlib/Changes
@@ -35,7 +35,7 @@ CHANGES
   2.023 9 November 2009
 
       * fixed instance where $[ should have been $] in t/02zlib.t
-        Thanks to Robin Barker and zefram [RT #50765] for independantly
+        Thanks to Robin Barker and zefram [RT #50765] for independently
         spotting the issue.
 
   2.021 30 August 2009
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/deflate.h b/cpan/Compress-Raw-Zlib/zlib-src/deflate.h
index cbf0d1e..442e14a 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/deflate.h
+++ b/cpan/Compress-Raw-Zlib/zlib-src/deflate.h
@@ -188,7 +188,7 @@ typedef struct internal_state {
     int nice_match; /* Stop searching when current match exceeds this */
 
                 /* used by trees.c: */
-    /* Didn't use ct_data typedef below to supress compiler warning */
+    /* Didn't use ct_data typedef below to suppress compiler warning */
     struct ct_data_s dyn_ltree[HEAP_SIZE];   /* literal and length tree */
     struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
     struct ct_data_s bl_tree[2*BL_CODES+1];  /* Huffman tree for bit lengths */
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h b/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h
index baa53a0..f536653 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h
+++ b/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h
@@ -38,7 +38,7 @@ typedef struct {
 /* Maximum size of the dynamic table.  The maximum number of code structures is
    1444, which is the sum of 852 for literal/length codes and 592 for distance
    codes.  These values were found by exhaustive searches using the program
-   examples/enough.c found in the zlib distribtution.  The arguments to that
+   examples/enough.c found in the zlib distribution.  The arguments to that
    program are the number of symbols, the initial root table size, and the
    maximum bit length of a code.  "enough 286 9 15" for literal/length codes
    returns returns 852, and "enough 30 6 15" for distance codes returns 592.
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/trees.c b/cpan/Compress-Raw-Zlib/zlib-src/trees.c
index d9c807d..5e71808 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/trees.c
+++ b/cpan/Compress-Raw-Zlib/zlib-src/trees.c
@@ -319,7 +319,7 @@ local void tr_static_init()
 }
 
 /* ===========================================================================
- * Genererate the file trees.h describing the static trees.
+ * Generate the file trees.h describing the static trees.
  */
 #ifdef GEN_TREES_H
 #  ifndef DEBUG
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/zlib.h b/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
index bfbba83..24347a5 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
+++ b/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
@@ -962,7 +962,7 @@ ZEXTERN int ZEXPORT inflateBackInit OF((z_streamp strm, int windowBits,
      See inflateBack() for the usage of these routines.
 
      inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
-   the paramaters are invalid, Z_MEM_ERROR if the internal state could not be
+   the parameters are invalid, Z_MEM_ERROR if the internal state could not be
    allocated, or Z_VERSION_ERROR if the version of the library does not match
    the version of the header file.
 */
@@ -1325,7 +1325,7 @@ ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush));
      If the flush parameter is Z_FINISH, the remaining data is written and the
    gzip stream is completed in the output.  If gzwrite() is called again, a new
    gzip stream will be started in the output.  gzread() is able to read such
-   concatented gzip streams.
+   concatenated gzip streams.
 
      gzflush should be called only when strictly necessary because it will
    degrade compression if called too often.
-- 
1.7.3.3

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 7, 2011

From @pmqs

Thanks, patch applied to my development copy except for the changes to the files under both bzip2-src and zlib-src. Those files are third party and I would prefer to keep them the same as the originals.

Paul

-----Original Message-----
From​: Peter J. Acklam (via RT) [mailto​:perlbug-followup@​perl.org]
Sent​: 07 January 2011 07​:07
To​: bugs-bitbucket@​rt.perl.org
Subject​: [perl #81782] [PATCH] Fix typos (spelling errors) in cpan/Compress-Raw-*.

# New Ticket Created by (Peter J. Acklam)
# Please include the string​: [perl #81782]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt3/Ticket/Display.html?id=81782 >


cpan/Compress-Raw-Bzip2/Changes | 2 +-
cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h | 2 +-
cpan/Compress-Raw-Bzip2/pod/FAQ.pod | 2 +-
cpan/Compress-Raw-Zlib/Changes | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/deflate.h | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/inftrees.h | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/trees.c | 2 +-
cpan/Compress-Raw-Zlib/zlib-src/zlib.h | 4 ++--
8 files changed, 9 insertions(+), 9 deletions(-)

Inline Patch
diff --git a/cpan/Compress-Raw-Bzip2/Changes b/cpan/Compress-Raw-Bzip2/Changes
index f266a79..dc300c8 100644
--- a/cpan/Compress-Raw-Bzip2/Changes
+++ b/cpan/Compress-Raw-Bzip2/Changes
@@ -29,7 +29,7 @@ CHANGES
         [RT# 47225]
 
       * Fixed instance where $[ should have been $] in t/01bzip2.t
-        Thanks to Robin Barker and zefram [RT #50764] for independantly
+        Thanks to Robin Barker and zefram [RT #50764] for independently
         spotting the issue.
 
   2.021 30 August 2009
diff --git a/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h b/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h
index 8277123..1cd403d 100644
--- a/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h
+++ b/cpan/Compress-Raw-Bzip2/bzip2-src/bzlib.h
@@ -71,7 +71,7 @@ typedef
 #endif
 
 #ifndef BZ_NO_STDIO
-/* Need a definitition for FILE */
+/* Need a definition for FILE */
 #include <stdio.h>
 #endif
 
diff --git a/cpan/Compress-Raw-Bzip2/pod/FAQ.pod b/cpan/Compress-Raw-Bzip2/pod/FAQ.pod
index 3c7e9e5..6bfd5f8 100644
--- a/cpan/Compress-Raw-Bzip2/pod/FAQ.pod
+++ b/cpan/Compress-Raw-Bzip2/pod/FAQ.pod
@@ -39,7 +39,7 @@ available
 
 See previous FAQ item.
 
-If the C<Archive::Tar> module is instaled and either the C<uncompress> or
+If the C<Archive::Tar> module is installed and either the C<uncompress> or
 C<gunzip> programs are available, you can use one of these workarounds to
 read C<.tar.Z> files.
 
diff --git a/cpan/Compress-Raw-Zlib/Changes b/cpan/Compress-Raw-Zlib/Changes
index 74e1da6..47cd20d 100644
--- a/cpan/Compress-Raw-Zlib/Changes
+++ b/cpan/Compress-Raw-Zlib/Changes
@@ -35,7 +35,7 @@ CHANGES
   2.023 9 November 2009
 
       * fixed instance where $[ should have been $] in t/02zlib.t
-        Thanks to Robin Barker and zefram [RT #50765] for independantly
+        Thanks to Robin Barker and zefram [RT #50765] for independently
         spotting the issue.
 
   2.021 30 August 2009
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/deflate.h b/cpan/Compress-Raw-Zlib/zlib-src/deflate.h
index cbf0d1e..442e14a 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/deflate.h
+++ b/cpan/Compress-Raw-Zlib/zlib-src/deflate.h
@@ -188,7 +188,7 @@ typedef struct internal_state {
     int nice_match; /* Stop searching when current match exceeds this */
 
                 /* used by trees.c: */
-    /* Didn't use ct_data typedef below to supress compiler warning */
+    /* Didn't use ct_data typedef below to suppress compiler warning */
     struct ct_data_s dyn_ltree[HEAP_SIZE];   /* literal and length tree */
     struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
     struct ct_data_s bl_tree[2*BL_CODES+1];  /* Huffman tree for bit lengths */
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h b/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h
index baa53a0..f536653 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h
+++ b/cpan/Compress-Raw-Zlib/zlib-src/inftrees.h
@@ -38,7 +38,7 @@ typedef struct {
 /* Maximum size of the dynamic table.  The maximum number of code structures is
    1444, which is the sum of 852 for literal/length codes and 592 for distance
    codes.  These values were found by exhaustive searches using the program
-   examples/enough.c found in the zlib distribtution.  The arguments to that
+   examples/enough.c found in the zlib distribution.  The arguments to that
    program are the number of symbols, the initial root table size, and the
    maximum bit length of a code.  "enough 286 9 15" for literal/length codes
    returns returns 852, and "enough 30 6 15" for distance codes returns 592.
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/trees.c b/cpan/Compress-Raw-Zlib/zlib-src/trees.c
index d9c807d..5e71808 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/trees.c
+++ b/cpan/Compress-Raw-Zlib/zlib-src/trees.c
@@ -319,7 +319,7 @@ local void tr_static_init()
 }
 
 /* ===========================================================================
- * Genererate the file trees.h describing the static trees.
+ * Generate the file trees.h describing the static trees.
  */
 #ifdef GEN_TREES_H
 #  ifndef DEBUG
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/zlib.h b/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
index bfbba83..24347a5 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
+++ b/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
@@ -962,7 +962,7 @@ ZEXTERN int ZEXPORT inflateBackInit OF((z_streamp strm, int windowBits,
      See inflateBack() for the usage of these routines.
 
      inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
-   the paramaters are invalid, Z_MEM_ERROR if the internal state could not be
+   the parameters are invalid, Z_MEM_ERROR if the internal state could not be
    allocated, or Z_VERSION_ERROR if the version of the library does not match
    the version of the header file.
 */
@@ -1325,7 +1325,7 @@ ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush));
      If the flush parameter is Z_FINISH, the remaining data is written and the
    gzip stream is completed in the output.  If gzwrite() is called again, a new
    gzip stream will be started in the output.  gzread() is able to read such
-   concatented gzip streams.
+   concatenated gzip streams.
 
      gzflush should be called only when strictly necessary because it will
    degrade compression if called too often.
-- 
1.7.3.3

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 7, 2011

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 7, 2011

@iabyn - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant