From 643e17b7498d12ab8d15565662880579692f769d Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Tue, 14 Nov 2023 16:23:02 -0800 Subject: Correct repeated words in source file comments and a readme. --- contrib/infback9/inftree9.h | 4 ++-- contrib/minizip/ioapi.h | 2 +- contrib/minizip/zip.c | 4 ++-- contrib/minizip/zip.h | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'contrib') diff --git a/contrib/infback9/inftree9.h b/contrib/infback9/inftree9.h index 2c1252f..ab2ea28 100644 --- a/contrib/infback9/inftree9.h +++ b/contrib/infback9/inftree9.h @@ -41,8 +41,8 @@ typedef struct { examples/enough.c found in the zlib distribution. The arguments to that program are the number of symbols, the initial root table size, and the maximum bit length of a code. "enough 286 9 15" for literal/length codes - returns returns 852, and "enough 32 6 15" for distance codes returns 594. - The initial root table size (9 or 6) is found in the fifth argument of the + returns 852, and "enough 32 6 15" for distance codes returns 594. The + initial root table size (9 or 6) is found in the fifth argument of the inflate_table() calls in infback9.c. If the root table size is changed, then these maximum sizes would be need to be recalculated and updated. */ #define ENOUGH_LENS 852 diff --git a/contrib/minizip/ioapi.h b/contrib/minizip/ioapi.h index c588a18..a2d2e6e 100644 --- a/contrib/minizip/ioapi.h +++ b/contrib/minizip/ioapi.h @@ -144,7 +144,7 @@ typedef long (ZCALLBACK *tell_file_func) (voidpf opaque, voidpf stream) typedef long (ZCALLBACK *seek_file_func) (voidpf opaque, voidpf stream, uLong offset, int origin); -/* here is the "old" 32 bits structure structure */ +/* here is the "old" 32 bits structure */ typedef struct zlib_filefunc_def_s { open_file_func zopen_file; diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c index 86be90b..e2e9da0 100644 --- a/contrib/minizip/zip.c +++ b/contrib/minizip/zip.c @@ -614,9 +614,9 @@ local int LoadCentralDirectoryRecord(zip64_internal* pziinit) { ZPOS64_T central_pos; uLong uL; - uLong number_disk; /* number of the current dist, used for + uLong number_disk; /* number of the current disk, used for spanning ZIP, unsupported, always 0*/ - uLong number_disk_with_CD; /* number the the disk with central dir, used + uLong number_disk_with_CD; /* number of the disk with central dir, used for spanning ZIP, unsupported, always 0*/ ZPOS64_T number_entry; ZPOS64_T number_entry_CD; /* total number of entries in diff --git a/contrib/minizip/zip.h b/contrib/minizip/zip.h index 5fc0841..3e230d3 100644 --- a/contrib/minizip/zip.h +++ b/contrib/minizip/zip.h @@ -177,9 +177,9 @@ extern int ZEXPORT zipOpenNewFileInZip64(zipFile file, filename : the filename in zip (if NULL, '-' without quote will be used *zipfi contain supplemental information if extrafield_local!=NULL and size_extrafield_local>0, extrafield_local - contains the extrafield data the the local header + contains the extrafield data for the local header if extrafield_global!=NULL and size_extrafield_global>0, extrafield_global - contains the extrafield data the the local header + contains the extrafield data for the global header if comment != NULL, comment contain the comment string method contain the compression method (0 for store, Z_DEFLATED for deflate) level contain the level of compression (can be Z_DEFAULT_COMPRESSION) -- cgit v1.2.3-55-g6feb