Skip to content

Commit

Permalink
Fix some spelling errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored and madler committed Aug 3, 2023
1 parent 2bcc748 commit c7ddcc2
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion FAQ
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

If your question is not there, please check the zlib home page
http://zlib.net/ which may have more recent information.
The lastest zlib FAQ is at http://zlib.net/zlib_faq.html
The latest zlib FAQ is at http://zlib.net/zlib_faq.html


1. Is zlib Y2K-compliant?
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Notes for some targets:
- zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works
when compiled with cc.

- On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is
- On Digital Unix 4.0D (formerly OSF/1) on AlphaServer, the cc option -std1 is
necessary to get gzprintf working correctly. This is done by configure.

- zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ echo prefix = $prefix >> configure.log
echo sharedlibdir = $sharedlibdir >> configure.log
echo uname = $uname >> configure.log

# udpate Makefile with the configure results
# update Makefile with the configure results
sed < ${SRCDIR}Makefile.in "
/^CC *=/s#=.*#=$CC#
/^CFLAGS *=/s#=.*#=$CFLAGS#
Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It provides Ada-style access to the ZLib C library.

Here are the main changes since ZLib.Ada 1.2:

- Attension: ZLib.Read generic routine have a initialization requirement
- Attention: ZLib.Read generic routine have a initialization requirement
for Read_Last parameter now. It is a bit incompartible with previous version,
but extends functionality, we could use new parameters Allow_Read_Some and
Flush now.
Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/zlib-streams.ads
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ package ZLib.Streams is
:= Default_Buffer_Size;
Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset
:= Default_Buffer_Size);
-- Create the Comression/Decompression stream.
-- Create the Compression/Decompression stream.
-- If mode is In_Stream then Write operation is disabled.
-- If mode is Out_Stream then Read operation is disabled.

Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/zlib.adb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ package body ZLib is
end if;

-- We allow ZLib to make header only in case of default header type.
-- Otherwise we would either do header by ourselfs, or do not do
-- Otherwise we would either do header by ourselves, or do not do
-- header at all.

if Header = None or else Header = GZip then
Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/zlib.ads
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ package ZLib is
-- Compression strategy constants --
------------------------------------

-- RLE stategy could be used only in version 1.2.0 and later.
-- RLE strategy could be used only in version 1.2.0 and later.

Filtered : constant Strategy_Type;
Huffman_Only : constant Strategy_Type;
Expand Down
2 changes: 1 addition & 1 deletion contrib/dotzlib/DotZLib/ChecksumImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public ChecksumGeneratorBase(uint initialValue)
/// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
/// <exception cref="NullReferenceException"><c>data</c> is a null reference</exception>
/// <exception cref="ArgumentOutOfRangeException">Offset or count is negative.</exception>
/// <remarks>All the other <c>Update</c> methods are implmeneted in terms of this one.
/// <remarks>All the other <c>Update</c> methods are implemented in terms of this one.
/// This is therefore the only method a derived class has to implement</remarks>
public abstract void Update(byte[] data, int offset, int count);

Expand Down
4 changes: 2 additions & 2 deletions contrib/dotzlib/DotZLib/CodecBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void Dispose()
/// <remarks>This must be implemented by a derived class</remarks>
protected abstract void CleanUp();

// performs the release of the handles and calls the dereived CleanUp()
// performs the release of the handles and calls the derived CleanUp()
private void CleanUp(bool isDisposing)
{
if (!_isDisposed)
Expand All @@ -160,7 +160,7 @@ private void CleanUp(bool isDisposing)
#region Helper methods

/// <summary>
/// Copies a number of bytes to the internal codec buffer - ready for proccesing
/// Copies a number of bytes to the internal codec buffer - ready for processing
/// </summary>
/// <param name="data">The byte array that contains the data to copy</param>
/// <param name="startIndex">The index of the first byte to copy</param>
Expand Down
6 changes: 3 additions & 3 deletions contrib/dotzlib/DotZLib/GZipStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public override void SetLength(long value)
}

/// <summary>
/// Not suppported.
/// Not supported.
/// </summary>
/// <param name="offset"></param>
/// <param name="origin"></param>
Expand All @@ -268,7 +268,7 @@ public override void Flush()
}

/// <summary>
/// Gets/sets the current position in the <c>GZipStream</c>. Not suppported.
/// Gets/sets the current position in the <c>GZipStream</c>. Not supported.
/// </summary>
/// <remarks>In this implementation this property is not supported</remarks>
/// <exception cref="NotSupportedException">Always thrown</exception>
Expand All @@ -285,7 +285,7 @@ public override long Position
}

/// <summary>
/// Gets the size of the stream. Not suppported.
/// Gets the size of the stream. Not supported.
/// </summary>
/// <remarks>In this implementation this property is not supported</remarks>
/// <exception cref="NotSupportedException">Always thrown</exception>
Expand Down
2 changes: 1 addition & 1 deletion contrib/dotzlib/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Build instructions:
in the same directory as the DotZLib.build file.
You can define 2 properties on the nant command-line to control the build:
debug={true|false} to toggle between release/debug builds (default=true).
nunit={true|false} to include or esclude unit tests (default=true).
nunit={true|false} to include or exclude unit tests (default=true).
Also the target clean will remove binaries.
Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release
or ./DotZLib/bin/debug, depending on whether you are building the release
Expand Down
4 changes: 2 additions & 2 deletions crc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,8 @@ unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf,
words = (z_word_t const *)buf;

/* Do endian check at execution time instead of compile time, since ARM
processors can change the endianess at execution time. If the
compiler knows what the endianess will be, it can optimize out the
processors can change the endianness at execution time. If the
compiler knows what the endianness will be, it can optimize out the
check and the unused branch. */
endian = 1;
if (*(unsigned char *)&endian) {
Expand Down
2 changes: 1 addition & 1 deletion examples/fitblk.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ int main(int argc, char **argv)
if (ret == Z_MEM_ERROR)
quit("out of memory");

/* set up for next reocmpression */
/* set up for next recompression */
ret = inflateReset(&inf);
assert(ret != Z_STREAM_ERROR);
ret = deflateReset(&def);
Expand Down

0 comments on commit c7ddcc2

Please sign in to comment.