diff options
author | Paul Ivanov <pi@berkeley.edu> | 2023-11-14 16:23:02 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2023-11-14 18:44:32 -0800 |
commit | 643e17b7498d12ab8d15565662880579692f769d (patch) | |
tree | 21d835548124922e575644bb0165574552fff6fa /contrib | |
parent | 15c45adb76e81a7e3a8a9e17b2a56eb90f668f44 (diff) | |
download | zlib-643e17b7498d12ab8d15565662880579692f769d.tar.gz zlib-643e17b7498d12ab8d15565662880579692f769d.tar.bz2 zlib-643e17b7498d12ab8d15565662880579692f769d.zip |
Correct repeated words in source file comments and a readme.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/infback9/inftree9.h | 4 | ||||
-rw-r--r-- | contrib/minizip/ioapi.h | 2 | ||||
-rw-r--r-- | contrib/minizip/zip.c | 4 | ||||
-rw-r--r-- | contrib/minizip/zip.h | 4 |
4 files changed, 7 insertions, 7 deletions
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 { | |||
41 | examples/enough.c found in the zlib distribution. The arguments to that | 41 | examples/enough.c found in the zlib distribution. The arguments to that |
42 | program are the number of symbols, the initial root table size, and the | 42 | program are the number of symbols, the initial root table size, and the |
43 | maximum bit length of a code. "enough 286 9 15" for literal/length codes | 43 | maximum bit length of a code. "enough 286 9 15" for literal/length codes |
44 | returns returns 852, and "enough 32 6 15" for distance codes returns 594. | 44 | returns 852, and "enough 32 6 15" for distance codes returns 594. The |
45 | The initial root table size (9 or 6) is found in the fifth argument of the | 45 | initial root table size (9 or 6) is found in the fifth argument of the |
46 | inflate_table() calls in infback9.c. If the root table size is changed, | 46 | inflate_table() calls in infback9.c. If the root table size is changed, |
47 | then these maximum sizes would be need to be recalculated and updated. */ | 47 | then these maximum sizes would be need to be recalculated and updated. */ |
48 | #define ENOUGH_LENS 852 | 48 | #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) | |||
144 | typedef long (ZCALLBACK *seek_file_func) (voidpf opaque, voidpf stream, uLong offset, int origin); | 144 | typedef long (ZCALLBACK *seek_file_func) (voidpf opaque, voidpf stream, uLong offset, int origin); |
145 | 145 | ||
146 | 146 | ||
147 | /* here is the "old" 32 bits structure structure */ | 147 | /* here is the "old" 32 bits structure */ |
148 | typedef struct zlib_filefunc_def_s | 148 | typedef struct zlib_filefunc_def_s |
149 | { | 149 | { |
150 | open_file_func zopen_file; | 150 | 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) { | |||
614 | ZPOS64_T central_pos; | 614 | ZPOS64_T central_pos; |
615 | uLong uL; | 615 | uLong uL; |
616 | 616 | ||
617 | uLong number_disk; /* number of the current dist, used for | 617 | uLong number_disk; /* number of the current disk, used for |
618 | spanning ZIP, unsupported, always 0*/ | 618 | spanning ZIP, unsupported, always 0*/ |
619 | uLong number_disk_with_CD; /* number the the disk with central dir, used | 619 | uLong number_disk_with_CD; /* number of the disk with central dir, used |
620 | for spanning ZIP, unsupported, always 0*/ | 620 | for spanning ZIP, unsupported, always 0*/ |
621 | ZPOS64_T number_entry; | 621 | ZPOS64_T number_entry; |
622 | ZPOS64_T number_entry_CD; /* total number of entries in | 622 | 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, | |||
177 | filename : the filename in zip (if NULL, '-' without quote will be used | 177 | filename : the filename in zip (if NULL, '-' without quote will be used |
178 | *zipfi contain supplemental information | 178 | *zipfi contain supplemental information |
179 | if extrafield_local!=NULL and size_extrafield_local>0, extrafield_local | 179 | if extrafield_local!=NULL and size_extrafield_local>0, extrafield_local |
180 | contains the extrafield data the the local header | 180 | contains the extrafield data for the local header |
181 | if extrafield_global!=NULL and size_extrafield_global>0, extrafield_global | 181 | if extrafield_global!=NULL and size_extrafield_global>0, extrafield_global |
182 | contains the extrafield data the the local header | 182 | contains the extrafield data for the global header |
183 | if comment != NULL, comment contain the comment string | 183 | if comment != NULL, comment contain the comment string |
184 | method contain the compression method (0 for store, Z_DEFLATED for deflate) | 184 | method contain the compression method (0 for store, Z_DEFLATED for deflate) |
185 | level contain the level of compression (can be Z_DEFAULT_COMPRESSION) | 185 | level contain the level of compression (can be Z_DEFAULT_COMPRESSION) |