diff options
| author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2023-02-02 15:50:00 +0100 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2023-08-03 13:53:24 -0700 |
| commit | c7ddcc2e0e8bb397ad720564228b538135ec11d8 (patch) | |
| tree | e573e8efe22a097b7d18319971b4ca9b20f38ba8 | |
| parent | 2bcc74873527f2ad9d3079ba6eff15c0eadc8910 (diff) | |
| download | zlib-c7ddcc2e0e8bb397ad720564228b538135ec11d8.tar.gz zlib-c7ddcc2e0e8bb397ad720564228b538135ec11d8.tar.bz2 zlib-c7ddcc2e0e8bb397ad720564228b538135ec11d8.zip | |
Fix some spelling errors.
| -rw-r--r-- | FAQ | 2 | ||||
| -rw-r--r-- | README | 2 | ||||
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | contrib/ada/readme.txt | 2 | ||||
| -rw-r--r-- | contrib/ada/zlib-streams.ads | 2 | ||||
| -rw-r--r-- | contrib/ada/zlib.adb | 2 | ||||
| -rw-r--r-- | contrib/ada/zlib.ads | 2 | ||||
| -rw-r--r-- | contrib/dotzlib/DotZLib/ChecksumImpl.cs | 2 | ||||
| -rw-r--r-- | contrib/dotzlib/DotZLib/CodecBase.cs | 4 | ||||
| -rw-r--r-- | contrib/dotzlib/DotZLib/GZipStream.cs | 6 | ||||
| -rw-r--r-- | contrib/dotzlib/readme.txt | 2 | ||||
| -rw-r--r-- | crc32.c | 4 | ||||
| -rw-r--r-- | examples/fitblk.c | 2 |
13 files changed, 17 insertions, 17 deletions
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | If your question is not there, please check the zlib home page | 5 | If your question is not there, please check the zlib home page |
| 6 | http://zlib.net/ which may have more recent information. | 6 | http://zlib.net/ which may have more recent information. |
| 7 | The lastest zlib FAQ is at http://zlib.net/zlib_faq.html | 7 | The latest zlib FAQ is at http://zlib.net/zlib_faq.html |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | 1. Is zlib Y2K-compliant? | 10 | 1. Is zlib Y2K-compliant? |
| @@ -63,7 +63,7 @@ Notes for some targets: | |||
| 63 | - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works | 63 | - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works |
| 64 | when compiled with cc. | 64 | when compiled with cc. |
| 65 | 65 | ||
| 66 | - On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is | 66 | - On Digital Unix 4.0D (formerly OSF/1) on AlphaServer, the cc option -std1 is |
| 67 | necessary to get gzprintf working correctly. This is done by configure. | 67 | necessary to get gzprintf working correctly. This is done by configure. |
| 68 | 68 | ||
| 69 | - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with | 69 | - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with |
| @@ -860,7 +860,7 @@ echo prefix = $prefix >> configure.log | |||
| 860 | echo sharedlibdir = $sharedlibdir >> configure.log | 860 | echo sharedlibdir = $sharedlibdir >> configure.log |
| 861 | echo uname = $uname >> configure.log | 861 | echo uname = $uname >> configure.log |
| 862 | 862 | ||
| 863 | # udpate Makefile with the configure results | 863 | # update Makefile with the configure results |
| 864 | sed < ${SRCDIR}Makefile.in " | 864 | sed < ${SRCDIR}Makefile.in " |
| 865 | /^CC *=/s#=.*#=$CC# | 865 | /^CC *=/s#=.*#=$CC# |
| 866 | /^CFLAGS *=/s#=.*#=$CFLAGS# | 866 | /^CFLAGS *=/s#=.*#=$CFLAGS# |
diff --git a/contrib/ada/readme.txt b/contrib/ada/readme.txt index ce4d2ca..7f42090 100644 --- a/contrib/ada/readme.txt +++ b/contrib/ada/readme.txt | |||
| @@ -8,7 +8,7 @@ It provides Ada-style access to the ZLib C library. | |||
| 8 | 8 | ||
| 9 | Here are the main changes since ZLib.Ada 1.2: | 9 | Here are the main changes since ZLib.Ada 1.2: |
| 10 | 10 | ||
| 11 | - Attension: ZLib.Read generic routine have a initialization requirement | 11 | - Attention: ZLib.Read generic routine have a initialization requirement |
| 12 | for Read_Last parameter now. It is a bit incompartible with previous version, | 12 | for Read_Last parameter now. It is a bit incompartible with previous version, |
| 13 | but extends functionality, we could use new parameters Allow_Read_Some and | 13 | but extends functionality, we could use new parameters Allow_Read_Some and |
| 14 | Flush now. | 14 | Flush now. |
diff --git a/contrib/ada/zlib-streams.ads b/contrib/ada/zlib-streams.ads index 8e26cd4..af13693 100644 --- a/contrib/ada/zlib-streams.ads +++ b/contrib/ada/zlib-streams.ads | |||
| @@ -62,7 +62,7 @@ package ZLib.Streams is | |||
| 62 | := Default_Buffer_Size; | 62 | := Default_Buffer_Size; |
| 63 | Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset | 63 | Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset |
| 64 | := Default_Buffer_Size); | 64 | := Default_Buffer_Size); |
| 65 | -- Create the Comression/Decompression stream. | 65 | -- Create the Compression/Decompression stream. |
| 66 | -- If mode is In_Stream then Write operation is disabled. | 66 | -- If mode is In_Stream then Write operation is disabled. |
| 67 | -- If mode is Out_Stream then Read operation is disabled. | 67 | -- If mode is Out_Stream then Read operation is disabled. |
| 68 | 68 | ||
diff --git a/contrib/ada/zlib.adb b/contrib/ada/zlib.adb index 8b6fd68..c1abe79 100644 --- a/contrib/ada/zlib.adb +++ b/contrib/ada/zlib.adb | |||
| @@ -204,7 +204,7 @@ package body ZLib is | |||
| 204 | end if; | 204 | end if; |
| 205 | 205 | ||
| 206 | -- We allow ZLib to make header only in case of default header type. | 206 | -- We allow ZLib to make header only in case of default header type. |
| 207 | -- Otherwise we would either do header by ourselfs, or do not do | 207 | -- Otherwise we would either do header by ourselves, or do not do |
| 208 | -- header at all. | 208 | -- header at all. |
| 209 | 209 | ||
| 210 | if Header = None or else Header = GZip then | 210 | if Header = None or else Header = GZip then |
diff --git a/contrib/ada/zlib.ads b/contrib/ada/zlib.ads index 79ffc40..81aaf1b 100644 --- a/contrib/ada/zlib.ads +++ b/contrib/ada/zlib.ads | |||
| @@ -114,7 +114,7 @@ package ZLib is | |||
| 114 | -- Compression strategy constants -- | 114 | -- Compression strategy constants -- |
| 115 | ------------------------------------ | 115 | ------------------------------------ |
| 116 | 116 | ||
| 117 | -- RLE stategy could be used only in version 1.2.0 and later. | 117 | -- RLE strategy could be used only in version 1.2.0 and later. |
| 118 | 118 | ||
| 119 | Filtered : constant Strategy_Type; | 119 | Filtered : constant Strategy_Type; |
| 120 | Huffman_Only : constant Strategy_Type; | 120 | Huffman_Only : constant Strategy_Type; |
diff --git a/contrib/dotzlib/DotZLib/ChecksumImpl.cs b/contrib/dotzlib/DotZLib/ChecksumImpl.cs index 788b2fc..c1230bf 100644 --- a/contrib/dotzlib/DotZLib/ChecksumImpl.cs +++ b/contrib/dotzlib/DotZLib/ChecksumImpl.cs | |||
| @@ -61,7 +61,7 @@ namespace DotZLib | |||
| 61 | /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception> | 61 | /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception> |
| 62 | /// <exception cref="NullReferenceException"><c>data</c> is a null reference</exception> | 62 | /// <exception cref="NullReferenceException"><c>data</c> is a null reference</exception> |
| 63 | /// <exception cref="ArgumentOutOfRangeException">Offset or count is negative.</exception> | 63 | /// <exception cref="ArgumentOutOfRangeException">Offset or count is negative.</exception> |
| 64 | /// <remarks>All the other <c>Update</c> methods are implmeneted in terms of this one. | 64 | /// <remarks>All the other <c>Update</c> methods are implemented in terms of this one. |
| 65 | /// This is therefore the only method a derived class has to implement</remarks> | 65 | /// This is therefore the only method a derived class has to implement</remarks> |
| 66 | public abstract void Update(byte[] data, int offset, int count); | 66 | public abstract void Update(byte[] data, int offset, int count); |
| 67 | 67 | ||
diff --git a/contrib/dotzlib/DotZLib/CodecBase.cs b/contrib/dotzlib/DotZLib/CodecBase.cs index 42e6da3..c4bc8b8 100644 --- a/contrib/dotzlib/DotZLib/CodecBase.cs +++ b/contrib/dotzlib/DotZLib/CodecBase.cs | |||
| @@ -139,7 +139,7 @@ namespace DotZLib | |||
| 139 | /// <remarks>This must be implemented by a derived class</remarks> | 139 | /// <remarks>This must be implemented by a derived class</remarks> |
| 140 | protected abstract void CleanUp(); | 140 | protected abstract void CleanUp(); |
| 141 | 141 | ||
| 142 | // performs the release of the handles and calls the dereived CleanUp() | 142 | // performs the release of the handles and calls the derived CleanUp() |
| 143 | private void CleanUp(bool isDisposing) | 143 | private void CleanUp(bool isDisposing) |
| 144 | { | 144 | { |
| 145 | if (!_isDisposed) | 145 | if (!_isDisposed) |
| @@ -160,7 +160,7 @@ namespace DotZLib | |||
| 160 | #region Helper methods | 160 | #region Helper methods |
| 161 | 161 | ||
| 162 | /// <summary> | 162 | /// <summary> |
| 163 | /// Copies a number of bytes to the internal codec buffer - ready for proccesing | 163 | /// Copies a number of bytes to the internal codec buffer - ready for processing |
| 164 | /// </summary> | 164 | /// </summary> |
| 165 | /// <param name="data">The byte array that contains the data to copy</param> | 165 | /// <param name="data">The byte array that contains the data to copy</param> |
| 166 | /// <param name="startIndex">The index of the first byte to copy</param> | 166 | /// <param name="startIndex">The index of the first byte to copy</param> |
diff --git a/contrib/dotzlib/DotZLib/GZipStream.cs b/contrib/dotzlib/DotZLib/GZipStream.cs index b161300..58091d3 100644 --- a/contrib/dotzlib/DotZLib/GZipStream.cs +++ b/contrib/dotzlib/DotZLib/GZipStream.cs | |||
| @@ -246,7 +246,7 @@ namespace DotZLib | |||
| 246 | } | 246 | } |
| 247 | 247 | ||
| 248 | /// <summary> | 248 | /// <summary> |
| 249 | /// Not suppported. | 249 | /// Not supported. |
| 250 | /// </summary> | 250 | /// </summary> |
| 251 | /// <param name="offset"></param> | 251 | /// <param name="offset"></param> |
| 252 | /// <param name="origin"></param> | 252 | /// <param name="origin"></param> |
| @@ -268,7 +268,7 @@ namespace DotZLib | |||
| 268 | } | 268 | } |
| 269 | 269 | ||
| 270 | /// <summary> | 270 | /// <summary> |
| 271 | /// Gets/sets the current position in the <c>GZipStream</c>. Not suppported. | 271 | /// Gets/sets the current position in the <c>GZipStream</c>. Not supported. |
| 272 | /// </summary> | 272 | /// </summary> |
| 273 | /// <remarks>In this implementation this property is not supported</remarks> | 273 | /// <remarks>In this implementation this property is not supported</remarks> |
| 274 | /// <exception cref="NotSupportedException">Always thrown</exception> | 274 | /// <exception cref="NotSupportedException">Always thrown</exception> |
| @@ -285,7 +285,7 @@ namespace DotZLib | |||
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | /// <summary> | 287 | /// <summary> |
| 288 | /// Gets the size of the stream. Not suppported. | 288 | /// Gets the size of the stream. Not supported. |
| 289 | /// </summary> | 289 | /// </summary> |
| 290 | /// <remarks>In this implementation this property is not supported</remarks> | 290 | /// <remarks>In this implementation this property is not supported</remarks> |
| 291 | /// <exception cref="NotSupportedException">Always thrown</exception> | 291 | /// <exception cref="NotSupportedException">Always thrown</exception> |
diff --git a/contrib/dotzlib/readme.txt b/contrib/dotzlib/readme.txt index b239572..47454fc 100644 --- a/contrib/dotzlib/readme.txt +++ b/contrib/dotzlib/readme.txt | |||
| @@ -36,7 +36,7 @@ Build instructions: | |||
| 36 | in the same directory as the DotZLib.build file. | 36 | in the same directory as the DotZLib.build file. |
| 37 | You can define 2 properties on the nant command-line to control the build: | 37 | You can define 2 properties on the nant command-line to control the build: |
| 38 | debug={true|false} to toggle between release/debug builds (default=true). | 38 | debug={true|false} to toggle between release/debug builds (default=true). |
| 39 | nunit={true|false} to include or esclude unit tests (default=true). | 39 | nunit={true|false} to include or exclude unit tests (default=true). |
| 40 | Also the target clean will remove binaries. | 40 | Also the target clean will remove binaries. |
| 41 | Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release | 41 | Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release |
| 42 | or ./DotZLib/bin/debug, depending on whether you are building the release | 42 | or ./DotZLib/bin/debug, depending on whether you are building the release |
| @@ -724,8 +724,8 @@ unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf, | |||
| 724 | words = (z_word_t const *)buf; | 724 | words = (z_word_t const *)buf; |
| 725 | 725 | ||
| 726 | /* Do endian check at execution time instead of compile time, since ARM | 726 | /* Do endian check at execution time instead of compile time, since ARM |
| 727 | processors can change the endianess at execution time. If the | 727 | processors can change the endianness at execution time. If the |
| 728 | compiler knows what the endianess will be, it can optimize out the | 728 | compiler knows what the endianness will be, it can optimize out the |
| 729 | check and the unused branch. */ | 729 | check and the unused branch. */ |
| 730 | endian = 1; | 730 | endian = 1; |
| 731 | if (*(unsigned char *)&endian) { | 731 | if (*(unsigned char *)&endian) { |
diff --git a/examples/fitblk.c b/examples/fitblk.c index 68f5680..723dc00 100644 --- a/examples/fitblk.c +++ b/examples/fitblk.c | |||
| @@ -198,7 +198,7 @@ int main(int argc, char **argv) | |||
| 198 | if (ret == Z_MEM_ERROR) | 198 | if (ret == Z_MEM_ERROR) |
| 199 | quit("out of memory"); | 199 | quit("out of memory"); |
| 200 | 200 | ||
| 201 | /* set up for next reocmpression */ | 201 | /* set up for next recompression */ |
| 202 | ret = inflateReset(&inf); | 202 | ret = inflateReset(&inf); |
| 203 | assert(ret != Z_STREAM_ERROR); | 203 | assert(ret != Z_STREAM_ERROR); |
| 204 | ret = deflateReset(&def); | 204 | ret = deflateReset(&def); |
