diff options
Diffstat (limited to 'src/common/unzip.c')
-rw-r--r-- | src/common/unzip.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/unzip.c b/src/common/unzip.c index a469a5b..6f6eef7 100644 --- a/src/common/unzip.c +++ b/src/common/unzip.c @@ -331,7 +331,7 @@ struct EXTRACTOR_UnzipFile /** * Read a byte from a gz_stream; update next_in and avail_in. Return EOF * for end of file. - * IN assertion: the stream s has been sucessfully opened for reading. + * IN assertion: the stream s has been successfully opened for reading. * * @param ffd functions for performing IO operations * @param pi where to store the byte that was read @@ -353,7 +353,7 @@ read_byte_from_ffd (const struct FileFuncDefs *ffd, /** * Read a short (2 bytes) from a gz_stream; update next_in and avail_in. Return EOF * for end of file. - * IN assertion: the stream s has been sucessfully opened for reading. + * IN assertion: the stream s has been successfully opened for reading. * * @param ffd functions for performing IO operations * @param pi where to store the short that was read @@ -382,7 +382,7 @@ read_short_from_ffd (const struct FileFuncDefs *ffd, /** * Read a 'long' (4 bytes) from a gz_stream; update next_in and avail_in. Return EOF * for end of file. - * IN assertion: the stream s has been sucessfully opened for reading. + * IN assertion: the stream s has been successfully opened for reading. * * @param ffd functions for performing IO operations * @param pi where to store the long that was read @@ -434,7 +434,7 @@ read_long_from_ffd (const struct FileFuncDefs *ffd, * @param filename2 name of second file * @param iCaseSensitivity, use 1 for case sensitivity (like strcmp); * 2 for no case sensitivity (like strcmpi or strcasecmp); or - * 0 for defaut of your operating system (like 1 on Unix, 2 on Windows) + * 0 for default of your operating system (like 1 on Unix, 2 on Windows) * @return 0 if names are equal */ static int @@ -735,9 +735,9 @@ unzip_open_using_ffd (struct FileFuncDefs *ffd) uLong central_pos; uLong uL; uLong number_disk; /* number of the current dist, used for - spaning ZIP, unsupported, always 0*/ + spanning ZIP, unsupported, always 0*/ uLong number_disk_with_CD; /* number of the disk with central dir, used - for spaning ZIP, unsupported, always 0*/ + for spanning ZIP, unsupported, always 0*/ uLong number_entry_CD; /* total number of entries in the central dir (same than number_entry on nospan) */ @@ -961,7 +961,7 @@ EXTRACTOR_common_unzip_go_to_next_file (struct EXTRACTOR_UnzipFile *file) * @param szFileName name to find * @param iCaseSensitivity, use 1 for case sensitivity (like strcmp); * 2 for no case sensitivity (like strcmpi or strcasecmp); or - * 0 for defaut of your operating system (like 1 on Unix, 2 on Windows) + * 0 for default of your operating system (like 1 on Unix, 2 on Windows) * @return #EXTRACTOR_UNZIP_OK if the file is found. It becomes the current file. * #EXTRACTOR_UNZIP_END_OF_LIST_OF_FILE if the file is not found */ @@ -1029,7 +1029,7 @@ EXTRACTOR_common_unzip_go_find_local_file (struct EXTRACTOR_UnzipFile *file, * * @param buf contain buffer where data must be copied * @param len the size of buf. - * @return the number of byte copied if somes bytes are copied + * @return the number of byte copied if some bytes are copied * 0 if the end of file was reached * <0 with error code if there is an error * (#EXTRACTOR_UNZIP_ERRNO for IO error, or zLib error for uncompress error) |