[08/23] Fix spelling mistakes in comments in Ada source files

Message ID 1479663498-30295-9-git-send-email-ambrogino.modigliani@mail.com
State New, archived
Headers

Commit Message

Ambrogino Modigliani Nov. 20, 2016, 5:38 p.m. UTC
  zlib/ChangeLog:

        * zlib/contrib/ada/zlib-streams.ads: Fix spelling in comments.
        * zlib/contrib/ada/zlib-thin.ads: Fix spelling in comments.
        * zlib/contrib/ada/zlib.ads: Fix spelling in comments.
---
 zlib/contrib/ada/zlib-streams.ads | 6 +++---
 zlib/contrib/ada/zlib-thin.ads    | 2 +-
 zlib/contrib/ada/zlib.ads         | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
  

Comments

Pedro Alves Nov. 22, 2016, 4:08 p.m. UTC | #1
On 11/20/2016 05:38 PM, Ambrogino Modigliani wrote:
> zlib/ChangeLog:
> 
>         * zlib/contrib/ada/zlib-streams.ads: Fix spelling in comments.
>         * zlib/contrib/ada/zlib-thin.ads: Fix spelling in comments.
>         * zlib/contrib/ada/zlib.ads: Fix spelling in comments.

zlib is an external 3rd project that we import into our tree.
Could you send the fixes upstream?

Thanks,
Pedro Alves
  

Patch

diff --git a/zlib/contrib/ada/zlib-streams.ads b/zlib/contrib/ada/zlib-streams.ads
index f0193c6..8e26cd4 100644
--- a/zlib/contrib/ada/zlib-streams.ads
+++ b/zlib/contrib/ada/zlib-streams.ads
@@ -31,7 +31,7 @@  package ZLib.Streams is
       Mode   : in     Flush_Mode := Sync_Flush);
    --  Flush the written data to the back stream,
    --  all data placed to the compressor is flushing to the Back stream.
-   --  Should not be used untill necessary, becouse it is decreasing
+   --  Should not be used until necessary, because it is decreasing
    --  compression.
 
    function Read_Total_In (Stream : in Stream_Type) return Count;
@@ -97,13 +97,13 @@  private
       Rest_Last  : Stream_Element_Offset;
       --  Buffer for Read operation.
       --  We need to have this buffer in the record
-      --  becouse not all read data from back stream
+      --  because not all read data from back stream
       --  could be processed during the read operation.
 
       Buffer_Size : Stream_Element_Offset;
       --  Buffer size for write operation.
       --  We do not need to have this buffer
-      --  in the record becouse all data could be
+      --  in the record because all data could be
       --  processed in the write operation.
 
       Back       : Stream_Access;
diff --git a/zlib/contrib/ada/zlib-thin.ads b/zlib/contrib/ada/zlib-thin.ads
index d4407eb..810173c 100644
--- a/zlib/contrib/ada/zlib-thin.ads
+++ b/zlib/contrib/ada/zlib-thin.ads
@@ -436,7 +436,7 @@  private
 
    pragma Import (C, inflateBackInit, "inflateBackInit_");
 
-   --  I stopped binding the inflateBack routines, becouse realize that
+   --  I stopped binding the inflateBack routines, because realize that
    --  it does not support zlib and gzip headers for now, and have no
    --  symmetric deflateBack routines.
    --  ZLib-Ada is symmetric regarding deflate/inflate data transformation
diff --git a/zlib/contrib/ada/zlib.ads b/zlib/contrib/ada/zlib.ads
index 79ffc40..29af826 100644
--- a/zlib/contrib/ada/zlib.ads
+++ b/zlib/contrib/ada/zlib.ads
@@ -260,7 +260,7 @@  package ZLib is
         (Item : out Ada.Streams.Stream_Element_Array;
          Last : out Ada.Streams.Stream_Element_Offset);
       --  User should provide data for compression/decompression
-      --  thru this routine.
+      --  through this routine.
 
       Buffer : in out Ada.Streams.Stream_Element_Array;
       --  Buffer for keep remaining data from the previous