Correct typos in source code.
This commit is contained in:
parent
01253ecd7e
commit
fe41d18921
@ -497,7 +497,7 @@ local unzFile unzOpenInternal(const void *path,
|
|||||||
ZPOS64_T central_pos;
|
ZPOS64_T central_pos;
|
||||||
uLong uL;
|
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*/
|
spanning ZIP, unsupported, always 0*/
|
||||||
uLong number_disk_with_CD; /* number the disk with central dir, used
|
uLong number_disk_with_CD; /* number the disk with central dir, used
|
||||||
for spanning ZIP, unsupported, always 0*/
|
for spanning ZIP, unsupported, always 0*/
|
||||||
|
@ -593,10 +593,10 @@ local int fixed(struct state *s)
|
|||||||
* provided for each of the literal/length symbols, and for each of the
|
* provided for each of the literal/length symbols, and for each of the
|
||||||
* distance symbols.
|
* distance symbols.
|
||||||
*
|
*
|
||||||
* - If a symbol is not used in the block, this is represented by a zero as
|
* - If a symbol is not used in the block, this is represented by a zero as the
|
||||||
* as the code length. This does not mean a zero-length code, but rather
|
* code length. This does not mean a zero-length code, but rather that no
|
||||||
* that no code should be created for this symbol. There is no way in the
|
* code should be created for this symbol. There is no way in the deflate
|
||||||
* deflate format to represent a zero-length code.
|
* format to represent a zero-length code.
|
||||||
*
|
*
|
||||||
* - The maximum number of bits in a code is 15, so the possible lengths for
|
* - The maximum number of bits in a code is 15, so the possible lengths for
|
||||||
* any code are 1..15.
|
* any code are 1..15.
|
||||||
|
@ -303,7 +303,7 @@ static void error(const char *msg) {
|
|||||||
#ifdef USE_MMAP /* MMAP version, Miguel Albrecht <malbrech@eso.org> */
|
#ifdef USE_MMAP /* MMAP version, Miguel Albrecht <malbrech@eso.org> */
|
||||||
|
|
||||||
/* Try compressing the input file at once using mmap. Return Z_OK if
|
/* Try compressing the input file at once using mmap. Return Z_OK if
|
||||||
* if success, Z_ERRNO otherwise.
|
* success, Z_ERRNO otherwise.
|
||||||
*/
|
*/
|
||||||
static int gz_compress_mmap(FILE *in, gzFile out) {
|
static int gz_compress_mmap(FILE *in, gzFile out) {
|
||||||
int len;
|
int len;
|
||||||
|
Loading…
Reference in New Issue
Block a user