WIP: Correct all typos (#498)

This commit is contained in:
jared 2022-07-20 17:01:15 -04:00 committed by GitHub
parent 98254a7c1f
commit ed205e98a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 162 additions and 162 deletions

View file

@ -519,7 +519,7 @@ int close_redirect(__G)
a wildcard to be meaningful
pattern = string to search for
cmd = 0 - case-insensitive search
1 - case-sensitve search
1 - case-sensitive search
2 - case-insensitive, whole words only
3 - case-sensitive, whole words only
SkipBin = if true, skip any files that have control

View file

@ -168,7 +168,7 @@ int envargs(Pargc, Pargv, envstr, envstr2)
/* finally, add a NULL after the last arg, like Unix */
*argv = (char *)NULL;
/* save the values and return, indicating succes */
/* save the values and return, indicating success */
*Pargv = argvect;
*Pargc = argc;

View file

@ -887,7 +887,7 @@ int extract_or_test_files(__G) /* return PK-type error code */
if ((filnum == 0) && error_in_archive <= PK_WARN) {
if (num_skipped > 0L)
error_in_archive = IZ_UNSUP; /* unsupport. compression/encryption */
error_in_archive = IZ_UNSUP; /* unsupported. compression/encryption */
else
error_in_archive = PK_FIND; /* no files found at all */
}
@ -3239,7 +3239,7 @@ char *fnfilter(raw, space, size) /* convert name to safely printable form */
* appear in filenames by itself. The following default definition
* sets the replacement char to a question mark as the most common
* "single char wildcard"; this setting should be overridden in the
* appropiate system-specific configuration header when needed.
* appropriate system-specific configuration header when needed.
*/
# define UZ_FNFILTER_REPLACECHAR '?'
#endif

View file

@ -207,7 +207,7 @@
end-of-block. Note however that the static length tree defines
288 codes just to fill out the Huffman codes. Codes 286 and 287
cannot be used though, since there is no length base or extra bits
defined for them. Similarily, there are up to 30 distance codes.
defined for them. Similarly, there are up to 30 distance codes.
However, static trees define 32 codes (all 5 bits) to fill out the
Huffman codes, but the last two had better not show up in the data.
7. Unzip can check dynamic Huffman blocks for complete code sets.
@ -855,7 +855,7 @@ ZCONST unsigned near mask_bits[17] = {
block. See the huft_build() routine.
Actually, the precautions mentioned above are not sufficient to
prevent fetches of bits beyound the end of the last block in every
prevent fetches of bits beyond the end of the last block in every
case. When the last code fetched before the end-of-block code was
a very short distance code (shorter than "distance-prefetch-bits" -
"end-of-block code bits"), this last distance code fetch already
@ -1351,7 +1351,7 @@ static int inflate_dynamic(__G)
}
#ifdef FIX_PAST_EOB_BY_TABLEADJUST
/* Adjust the requested distance base table size so that a distance code
fetch never tries to get bits behind an immediatly following end-of-block
fetch never tries to get bits behind an immediately following end-of-block
code. */
bd = (dbits <= bl+1 ? dbits : bl+1);
#else

View file

@ -304,8 +304,8 @@ int process_zipfiles(__G) /* return PK-type error code */
#endif /* IZ_CHECK_TZ && USE_EF_UT_TIME */
/* For systems that do not have tzset() but supply this function using another
name (_tzset() or something similar), an appropiate "#define tzset ..."
should be added to the system specifc configuration section. */
name (_tzset() or something similar), an appropriate "#define tzset ..."
should be added to the system specific configuration section. */
#if (!defined(T20_VMS) && !defined(MACOS) && !defined(RISCOS) && !defined(QDOS))
#if (!defined(BSD) && !defined(MTS) && !defined(CMS_MVS) && !defined(TANDEM))
tzset();
@ -2784,7 +2784,7 @@ unsigned ef_scan_for_izux(ef_buf, ef_len, ef_is_c, dos_mdatetime,
structure (provided the z_utim pointer is not NULL).
If a IZUNIX2 block is found or the IZUNIX block contains UID/GID fields,
and the z_uidgid array pointer is valid (!= NULL), the owner info is
transfered as well.
transferred as well.
The presence of an EF_TIME or EF_IZUNIX2 block results in ignoring all
data from probably present obsolete EF_IZUNIX blocks.
If multiple blocks of the same type are found, only the information from
@ -3052,7 +3052,7 @@ unsigned ef_scan_for_izux(ef_buf, ef_len, ef_is_c, dos_mdatetime,
? (dos_mdatetime == DOSTIME_MINIMUM)
: (dos_mdatetime >= DOSTIME_2038_01_18);
if (!ut_zip_unzip_compatible) {
/* UnZip interpretes mtime differently than Zip;
/* UnZip interprets mtime differently than Zip;
without modtime: ignore complete UT field */
flags &= ~0x0ff; /* no time_t times available */
TTrace((stderr,

View file

@ -1994,7 +1994,7 @@ void init_conversion_charsets()
/* Convert a string from one encoding to the current locale using iconv().
* Be as non-intrusive as possible. If error is encountered during
* convertion just leave the string intact. */
* conversion just leave the string intact. */
static void charset_to_intern(char *string, char *from_charset)
{
iconv_t cd;

View file

@ -888,12 +888,12 @@ linux_shlibz: unix_make
lynx: unix_make
$(MAKE) unzips CC=gcc CF="$(CF) -DLynx -DLYNX -DBSD -DUNIX"
# Macintosh MacOS X (Unix-compatible enviroment), using standard compiler
# Macintosh MacOS X (Unix-compatible environment), using standard compiler
macosx: unix_make
$(MAKE) unzips CFLAGS="-O3 -Wall -DBSD" LF2=""
$(STRIP) $(UNZIPS)
# Macintosh MacOS X (Unix-compatible enviroment), using gcc
# Macintosh MacOS X (Unix-compatible environment), using gcc
macosx_gcc: unix_make
$(MAKE) unzips CC=gcc CFLAGS="-O3 -Wall -DBSD" LF2=""
$(STRIP) $(UNZIPS)

View file

@ -5,7 +5,7 @@
echo " "
echo " "
echo "Installation is complete. Now, you should add the following"
echo "(or equivalnet) commands to the appropriate initial user shell"
echo "(or equivalent) commands to the appropriate initial user shell"
echo "scripts (such as .profile, .login, etc) -- "
echo " "
echo " For korn or bourne shell:"

View file

@ -4832,7 +4832,7 @@ unsigned long get_option(__G__ option_group, pargs, argc, argnum, optchar, value
} else if (allow_arg_files && arg[0] == '@') {
/* arg file */
oERR(PK_PARMS, no_arg_files_err);
oERR(PK_PARAMS, no_arg_files_err);
#endif
} else {