diff options
author | THE-Spellchecker <The.Spellchecker@outlook.com> | 2023-12-02 16:56:47 -0600 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2024-01-17 13:49:11 -0800 |
commit | 01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63 (patch) | |
tree | b00812cd5ba12d7ee803f2771d2f0e1304e66677 /contrib | |
parent | 16799d064b55a6b093fc52364f3343a1b1fa3b2f (diff) | |
download | zlib-01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63.tar.gz zlib-01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63.tar.bz2 zlib-01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63.zip |
Fix random typos over several source and text files.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/dotzlib/DotZLib/ChecksumImpl.cs | 2 | ||||
-rw-r--r-- | contrib/iostream3/zfstream.h | 4 | ||||
-rw-r--r-- | contrib/minizip/unzip.c | 4 | ||||
-rw-r--r-- | contrib/minizip/unzip.h | 2 | ||||
-rw-r--r-- | contrib/minizip/zip.c | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/contrib/dotzlib/DotZLib/ChecksumImpl.cs b/contrib/dotzlib/DotZLib/ChecksumImpl.cs index c1230bf..de88dcf 100644 --- a/contrib/dotzlib/DotZLib/ChecksumImpl.cs +++ b/contrib/dotzlib/DotZLib/ChecksumImpl.cs | |||
@@ -34,7 +34,7 @@ namespace DotZLib | |||
34 | } | 34 | } |
35 | 35 | ||
36 | /// <summary> | 36 | /// <summary> |
37 | /// Initializes a new instance of the checksum generator basewith a specified value | 37 | /// Initializes a new instance of the checksum generator base with a specified value |
38 | /// </summary> | 38 | /// </summary> |
39 | /// <param name="initialValue">The value to set the current checksum to</param> | 39 | /// <param name="initialValue">The value to set the current checksum to</param> |
40 | public ChecksumGeneratorBase(uint initialValue) | 40 | public ChecksumGeneratorBase(uint initialValue) |
diff --git a/contrib/iostream3/zfstream.h b/contrib/iostream3/zfstream.h index 8574479..3dabc0f 100644 --- a/contrib/iostream3/zfstream.h +++ b/contrib/iostream3/zfstream.h | |||
@@ -413,7 +413,7 @@ template<typename T1, typename T2> | |||
413 | class gzomanip2 | 413 | class gzomanip2 |
414 | { | 414 | { |
415 | public: | 415 | public: |
416 | // Allows insertor to peek at internals | 416 | // Allows inserter to peek at internals |
417 | template <typename Ta, typename Tb> | 417 | template <typename Ta, typename Tb> |
418 | friend gzofstream& | 418 | friend gzofstream& |
419 | operator<<(gzofstream&, | 419 | operator<<(gzofstream&, |
@@ -452,7 +452,7 @@ template<typename T1, typename T2> | |||
452 | : func(f), val1(v1), val2(v2) | 452 | : func(f), val1(v1), val2(v2) |
453 | { } | 453 | { } |
454 | 454 | ||
455 | // Insertor applies underlying manipulator function to stream | 455 | // Inserter applies underlying manipulator function to stream |
456 | template<typename T1, typename T2> | 456 | template<typename T1, typename T2> |
457 | inline gzofstream& | 457 | inline gzofstream& |
458 | operator<<(gzofstream& s, const gzomanip2<T1,T2>& m) | 458 | operator<<(gzofstream& s, const gzomanip2<T1,T2>& m) |
diff --git a/contrib/minizip/unzip.c b/contrib/minizip/unzip.c index 8c42af6..d3c0cea 100644 --- a/contrib/minizip/unzip.c +++ b/contrib/minizip/unzip.c | |||
@@ -450,7 +450,7 @@ local ZPOS64_T unz64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib | |||
450 | if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) | 450 | if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) |
451 | return CENTRALDIRINVALID; | 451 | return CENTRALDIRINVALID; |
452 | 452 | ||
453 | /* number of the disk with the start of the zip64 end of central directory */ | 453 | /* number of the disk with the start of the zip64 end of central directory */ |
454 | if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) | 454 | if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) |
455 | return CENTRALDIRINVALID; | 455 | return CENTRALDIRINVALID; |
456 | if (uL != 0) | 456 | if (uL != 0) |
@@ -499,7 +499,7 @@ local unzFile unzOpenInternal(const void *path, | |||
499 | 499 | ||
500 | uLong number_disk; /* number of the current dist, used for | 500 | uLong number_disk; /* number of the current dist, used for |
501 | spanning ZIP, unsupported, always 0*/ | 501 | spanning ZIP, unsupported, always 0*/ |
502 | uLong number_disk_with_CD; /* number the the disk with central dir, used | 502 | uLong number_disk_with_CD; /* number the disk with central dir, used |
503 | for spanning ZIP, unsupported, always 0*/ | 503 | for spanning ZIP, unsupported, always 0*/ |
504 | ZPOS64_T number_entry_CD; /* total number of entries in | 504 | ZPOS64_T number_entry_CD; /* total number of entries in |
505 | the central dir | 505 | the central dir |
diff --git a/contrib/minizip/unzip.h b/contrib/minizip/unzip.h index 1410584..5cfc9c6 100644 --- a/contrib/minizip/unzip.h +++ b/contrib/minizip/unzip.h | |||
@@ -306,7 +306,7 @@ extern int ZEXPORT unzGetCurrentFileInfo(unzFile file, | |||
306 | Get Info about the current file | 306 | Get Info about the current file |
307 | if pfile_info!=NULL, the *pfile_info structure will contain some info about | 307 | if pfile_info!=NULL, the *pfile_info structure will contain some info about |
308 | the current file | 308 | the current file |
309 | if szFileName!=NULL, the filemane string will be copied in szFileName | 309 | if szFileName!=NULL, the filename string will be copied in szFileName |
310 | (fileNameBufferSize is the size of the buffer) | 310 | (fileNameBufferSize is the size of the buffer) |
311 | if extraField!=NULL, the extra field information will be copied in extraField | 311 | if extraField!=NULL, the extra field information will be copied in extraField |
312 | (extraFieldBufferSize is the size of the buffer). | 312 | (extraFieldBufferSize is the size of the buffer). |
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c index e2e9da0..60bdffa 100644 --- a/contrib/minizip/zip.c +++ b/contrib/minizip/zip.c | |||
@@ -575,7 +575,7 @@ local ZPOS64_T zip64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib | |||
575 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) | 575 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) |
576 | return 0; | 576 | return 0; |
577 | 577 | ||
578 | /* number of the disk with the start of the zip64 end of central directory */ | 578 | /* number of the disk with the start of the zip64 end of central directory */ |
579 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) | 579 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) |
580 | return 0; | 580 | return 0; |
581 | if (uL != 0) | 581 | if (uL != 0) |
@@ -1608,7 +1608,7 @@ extern int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_si | |||
1608 | 1608 | ||
1609 | if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) | 1609 | if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) |
1610 | { | 1610 | { |
1611 | // we can not write more data to the buffer that we have room for. | 1611 | // we cannot write more data to the buffer that we have room for. |
1612 | return ZIP_BADZIPFILE; | 1612 | return ZIP_BADZIPFILE; |
1613 | } | 1613 | } |
1614 | 1614 | ||