Skip to content

Commit c7ddcc2

Browse files
DimitriPapadopoulosmadler
authored andcommitted
Fix some spelling errors.
1 parent 2bcc748 commit c7ddcc2

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

FAQ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
If your question is not there, please check the zlib home page
66
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
88

99

1010
1. Is zlib Y2K-compliant?

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Notes for some targets:
6363
- zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works
6464
when compiled with cc.
6565

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
6767
necessary to get gzprintf working correctly. This is done by configure.
6868

6969
- zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ echo prefix = $prefix >> configure.log
860860
echo sharedlibdir = $sharedlibdir >> configure.log
861861
echo uname = $uname >> configure.log
862862

863-
# udpate Makefile with the configure results
863+
# update Makefile with the configure results
864864
sed < ${SRCDIR}Makefile.in "
865865
/^CC *=/s#=.*#=$CC#
866866
/^CFLAGS *=/s#=.*#=$CFLAGS#

contrib/ada/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It provides Ada-style access to the ZLib C library.
88

99
Here are the main changes since ZLib.Ada 1.2:
1010

11-
- Attension: ZLib.Read generic routine have a initialization requirement
11+
- Attention: ZLib.Read generic routine have a initialization requirement
1212
for Read_Last parameter now. It is a bit incompartible with previous version,
1313
but extends functionality, we could use new parameters Allow_Read_Some and
1414
Flush now.

contrib/ada/zlib-streams.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ package ZLib.Streams is
6262
:= Default_Buffer_Size;
6363
Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset
6464
:= Default_Buffer_Size);
65-
-- Create the Comression/Decompression stream.
65+
-- Create the Compression/Decompression stream.
6666
-- If mode is In_Stream then Write operation is disabled.
6767
-- If mode is Out_Stream then Read operation is disabled.
6868

contrib/ada/zlib.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ package body ZLib is
204204
end if;
205205

206206
-- 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
208208
-- header at all.
209209

210210
if Header = None or else Header = GZip then

contrib/ada/zlib.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ package ZLib is
114114
-- Compression strategy constants --
115115
------------------------------------
116116

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.
118118

119119
Filtered : constant Strategy_Type;
120120
Huffman_Only : constant Strategy_Type;

contrib/dotzlib/DotZLib/ChecksumImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public ChecksumGeneratorBase(uint initialValue)
6161
/// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
6262
/// <exception cref="NullReferenceException"><c>data</c> is a null reference</exception>
6363
/// <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.
6565
/// This is therefore the only method a derived class has to implement</remarks>
6666
public abstract void Update(byte[] data, int offset, int count);
6767

contrib/dotzlib/DotZLib/CodecBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public void Dispose()
139139
/// <remarks>This must be implemented by a derived class</remarks>
140140
protected abstract void CleanUp();
141141

142-
// performs the release of the handles and calls the dereived CleanUp()
142+
// performs the release of the handles and calls the derived CleanUp()
143143
private void CleanUp(bool isDisposing)
144144
{
145145
if (!_isDisposed)
@@ -160,7 +160,7 @@ private void CleanUp(bool isDisposing)
160160
#region Helper methods
161161

162162
/// <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
164164
/// </summary>
165165
/// <param name="data">The byte array that contains the data to copy</param>
166166
/// <param name="startIndex">The index of the first byte to copy</param>

contrib/dotzlib/DotZLib/GZipStream.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public override void SetLength(long value)
246246
}
247247

248248
/// <summary>
249-
/// Not suppported.
249+
/// Not supported.
250250
/// </summary>
251251
/// <param name="offset"></param>
252252
/// <param name="origin"></param>
@@ -268,7 +268,7 @@ public override void Flush()
268268
}
269269

270270
/// <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.
272272
/// </summary>
273273
/// <remarks>In this implementation this property is not supported</remarks>
274274
/// <exception cref="NotSupportedException">Always thrown</exception>
@@ -285,7 +285,7 @@ public override long Position
285285
}
286286

287287
/// <summary>
288-
/// Gets the size of the stream. Not suppported.
288+
/// Gets the size of the stream. Not supported.
289289
/// </summary>
290290
/// <remarks>In this implementation this property is not supported</remarks>
291291
/// <exception cref="NotSupportedException">Always thrown</exception>

contrib/dotzlib/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Build instructions:
3636
in the same directory as the DotZLib.build file.
3737
You can define 2 properties on the nant command-line to control the build:
3838
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).
4040
Also the target clean will remove binaries.
4141
Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release
4242
or ./DotZLib/bin/debug, depending on whether you are building the release

crc32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,8 @@ unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf,
724724
words = (z_word_t const *)buf;
725725

726726
/* Do endian check at execution time instead of compile time, since ARM
727-
processors can change the endianess at execution time. If the
728-
compiler knows what the endianess will be, it can optimize out the
727+
processors can change the endianness at execution time. If the
728+
compiler knows what the endianness will be, it can optimize out the
729729
check and the unused branch. */
730730
endian = 1;
731731
if (*(unsigned char *)&endian) {

examples/fitblk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ int main(int argc, char **argv)
198198
if (ret == Z_MEM_ERROR)
199199
quit("out of memory");
200200

201-
/* set up for next reocmpression */
201+
/* set up for next recompression */
202202
ret = inflateReset(&inf);
203203
assert(ret != Z_STREAM_ERROR);
204204
ret = deflateReset(&def);

0 commit comments

Comments
 (0)