Index: Src/builtin.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/builtin.c,v retrieving revision 1.79 diff -u -r1.79 builtin.c --- Src/builtin.c 1 Aug 2002 15:50:07 -0000 1.79 +++ Src/builtin.c 5 Aug 2002 11:40:03 -0000 @@ -477,8 +477,8 @@ hadplus = 0, hadend = 0, sort = 0; char **x; - /* Obsolecent sh compatibility: set - is the same as set +xv * - * and set - args is the same as set +xv -- args */ + /* Obsolescent sh compatibility: set - is the same as set +xv * + * and set - args is the same as set +xv -- args */ if (*args && **args == '-' && !args[0][1]) { dosetopt(VERBOSE, 0, 0); dosetopt(XTRACE, 0, 0); @@ -699,7 +699,7 @@ /* The main pwd changing function. The real work is done by other * * functions. cd_get_dest() does the initial argument processing; * * cd_do_chdir() actually changes directory, if possible; cd_new_pwd() * - * does the ancilliary processing associated with actually changing * + * does the ancillary processing associated with actually changing * * directory. */ /**/ @@ -1409,7 +1409,7 @@ return cmd; } -/* Perform old=new substituions. Uses the asgment structure from zsh.h, * +/* Perform old=new substitutions. Uses the asgment structure from zsh.h, * * which is essentially a linked list of string,replacement pairs. */ /**/ @@ -1643,7 +1643,7 @@ * If the original parameter was special and we're creating * a new one, we need to keep it special. * - * The -h (hide) flags prevents an existing special being made + * The -h (hide) flag prevents an existing special being made * local. It can be applied either to the special or in the * typeset/local statement for the local variable. */ @@ -1965,7 +1965,7 @@ off |= bit; roff = off; - /* Sanity checks on the options. Remove conficting options. */ + /* Sanity checks on the options. Remove conflicting options. */ if (on & PM_FFLOAT) { off |= PM_RIGHT_B | PM_LEFT | PM_RIGHT_Z | PM_UPPER | PM_ARRAY | PM_HASHED | PM_INTEGER | PM_EFLOAT; Index: Src/compat.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/compat.c,v retrieving revision 1.11 diff -u -r1.11 compat.c --- Src/compat.c 3 Nov 2001 23:39:11 -0000 1.11 +++ Src/compat.c 5 Aug 2002 11:40:03 -0000 @@ -1,5 +1,5 @@ /* - * compat.c - compatibiltiy routines for the deprived + * compat.c - compatibility routines for the deprived * * This file is part of zsh, the Z shell. * @@ -377,7 +377,7 @@ } /* chdir with arbitrary long pathname. Returns 0 on success, 0 on normal * - * faliliure and -2 when chdir failed and the current directory is lost. */ + * failure and -2 when chdir failed and the current directory is lost. */ /**/ mod_export int Index: Src/exec.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/exec.c,v retrieving revision 1.44 diff -u -r1.44 exec.c --- Src/exec.c 1 Aug 2002 15:06:27 -0000 1.44 +++ Src/exec.c 5 Aug 2002 11:40:03 -0000 @@ -2372,7 +2372,7 @@ execute((Cmdnam) hn, cflags & BINF_DASH); } else { /* ( ... ) */ DPUTS(varspc, - "BUG: assigment before complex command"); + "BUG: assignment before complex command"); list_pipe = 0; if (subsh_close >= 0) zclose(subsh_close); Index: Src/glob.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/glob.c,v retrieving revision 1.27 diff -u -r1.27 glob.c --- Src/glob.c 6 May 2002 14:46:11 -0000 1.27 +++ Src/glob.c 5 Aug 2002 11:40:03 -0000 @@ -355,7 +355,7 @@ while (!inserts || (news = dupstring(*inserts++))) { if (colonmod) { - /* Handle the remainder of the qualifer: e.g. (:r:s/foo/bar/). */ + /* Handle the remainder of the qualifier: e.g. (:r:s/foo/bar/). */ s = colonmod; modify(&news, &s); } @@ -685,7 +685,7 @@ /* parse single path component */ if (!(p1 = patcompile(instr, compflags|PAT_FILET, &instr))) return NULL; - /* then do the remaining path compoents */ + /* then do the remaining path components */ if (*instr == '/' || !*instr) { int ef = *instr == '/'; Index: Src/hashtable.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/hashtable.c,v retrieving revision 1.11 diff -u -r1.11 hashtable.c --- Src/hashtable.c 5 Jul 2001 11:43:11 -0000 1.11 +++ Src/hashtable.c 5 Aug 2002 11:40:03 -0000 @@ -156,7 +156,7 @@ ht->freenode(oldnode); } -/* Add a node to a hash table, returning the old node on replacment. */ +/* Add a node to a hash table, returning the old node on replacement. */ /**/ HashNode Index: Src/init.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/init.c,v retrieving revision 1.24 diff -u -r1.24 init.c --- Src/init.c 7 Jun 2002 14:44:25 -0000 1.24 +++ Src/init.c 5 Aug 2002 11:40:03 -0000 @@ -805,7 +805,7 @@ createshfunctable(); /* create hash table for shell functions */ createbuiltintable(); /* create hash table for builtin commands */ createnameddirtable(); /* create hash table for named directories */ - createparamtable(); /* create paramater hash table */ + createparamtable(); /* create parameter hash table */ condtab = NULL; wrappers = NULL; Index: Src/lex.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/lex.c,v retrieving revision 1.22 diff -u -r1.22 lex.c --- Src/lex.c 8 Jan 2002 15:33:23 -0000 1.22 +++ Src/lex.c 5 Aug 2002 11:40:03 -0000 @@ -122,7 +122,7 @@ /**/ mod_export int nocomments; -/* text of puctuation tokens */ +/* text of punctuation tokens */ /**/ mod_export char *tokstrings[WHILE + 1] = { Index: Src/math.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/math.c,v retrieving revision 1.14 diff -u -r1.14 math.c --- Src/math.c 17 May 2002 15:14:05 -0000 1.14 +++ Src/math.c 5 Aug 2002 11:40:03 -0000 @@ -648,7 +648,7 @@ (a.type != MN_UNSET || what != EQ)) { /* * Different types, so coerce to float. - * It may happen during an assigment that the LHS + * It may happen during an assignment that the LHS * variable is actually an integer, but there's still * no harm in doing the arithmetic in floating point; * the assignment will do the correct conversion. Index: Src/mem.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/mem.c,v retrieving revision 1.5 diff -u -r1.5 mem.c --- Src/mem.c 7 Mar 2001 12:58:41 -0000 1.5 +++ Src/mem.c 5 Aug 2002 11:40:03 -0000 @@ -693,7 +693,7 @@ size of the small blocks held in a memory block, given a pointer to the header of it. M_SBLEN() gives the size of a memory block that can hold an array of small blocks, given the size of these small blocks. M_BSLEN() - caculates the size of the small blocks held in a memory block, given the + calculates the size of the small blocks held in a memory block, given the length of that block (including the header of the memory block. M_NSMALL is the number of possible block sizes that small blocks should be used for. */ @@ -1286,7 +1286,7 @@ printf("\nThe list of memory blocks. For each block the following\n"); printf("information is shown:\n\n"); printf("num\tthe number of this block\n"); - printf("tnum\tlike num but counted separatedly for used and free\n"); + printf("tnum\tlike num but counted separately for used and free\n"); printf("\tblocks\n"); printf("addr\tthe address of this block\n"); printf("len\tthe length of the block\n"); @@ -1295,7 +1295,7 @@ printf("\t free\tthis block is free\n"); printf("\t small\tthis block is used for an array of small blocks\n"); printf("cum\tthe accumulated sizes of the blocks, counted\n"); - printf("\tseparatedly for used and free blocks\n"); + printf("\tseparately for used and free blocks\n"); printf("\nFor blocks holding small blocks the number of free\n"); printf("blocks, the number of used blocks and the size of the\n"); printf("blocks is shown. For otherwise used blocks the first few\n"); Index: Src/module.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/module.c,v retrieving revision 1.9 diff -u -r1.9 module.c --- Src/module.c 18 May 2001 15:23:09 -0000 1.9 +++ Src/module.c 5 Aug 2002 11:40:03 -0000 @@ -903,7 +903,7 @@ * If we were passed an alias, we must resolve it to a final * module name (and maybe add the corresponding struct), since otherwise * we would need to check all modules to see if they happen - * to be aliased to the same thing to implement depencies properly. + * to be aliased to the same thing to implement dependencies properly. * * This should mean that an attempt to add an alias which would * have the same name as a module which has dependencies is correctly Index: Src/params.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/params.c,v retrieving revision 1.64 diff -u -r1.64 params.c --- Src/params.c 20 Jun 2002 16:39:58 -0000 1.64 +++ Src/params.c 5 Aug 2002 11:40:03 -0000 @@ -225,7 +225,7 @@ {NULL, NULL}, #define IPDEF10(A,B,C) {NULL,A,PM_ARRAY|PM_SPECIAL,BR(NULL),SFN(C),GFN(B),stdunsetfn,10,NULL,NULL,NULL,0} -/* The following parameters are not avaible in sh/ksh compatibility * +/* The following parameters are not available in sh/ksh compatibility * * mode. All of these have sh compatible equivalents. */ IPDEF1("ARGC", poundgetfn, nullintsetfn, PM_READONLY), IPDEF2("HISTCHARS", histcharsgetfn, histcharssetfn, PM_DONTIMPORT), @@ -678,7 +678,7 @@ paramtab->getnode(paramtab, name)); DPUTS(oldpm && oldpm->level > locallevel, - "BUG: old local parameter not deleteed"); + "BUG: old local parameter not deleted"); if (oldpm && (oldpm->level == locallevel || !(flags & PM_LOCAL))) { if (!(oldpm->flags & PM_UNSET) || (oldpm->flags & PM_SPECIAL)) { oldpm->flags &= ~PM_UNSET; @@ -1205,7 +1205,7 @@ *s++ = '['; s = parse_subscript(s, dq); /* Error handled after untokenizing */ - /* Now we untokenize everthing except INULL() markers so we can check * + /* Now we untokenize everything except INULL() markers so we can check * * for the '*' and '@' special subscripts. The INULL()s are removed * * in getarg() after we know whether we're doing reverse indexing. */ for (tbrack = *pptr + 1; *tbrack && tbrack != s; tbrack++) { @@ -2269,7 +2269,7 @@ /* * Re-export the old value which we removed in typeset_single(). * I don't think we need to test for ALL_EXPORT here, since if - * it was used to export the parameter originally the parmeter + * it was used to export the parameter originally the parameter * should still have the PM_EXPORTED flag. */ export_param(oldpm); Index: Src/parse.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/parse.c,v retrieving revision 1.36 diff -u -r1.36 parse.c --- Src/parse.c 7 Jun 2002 14:44:25 -0000 1.36 +++ Src/parse.c 5 Aug 2002 11:40:03 -0000 @@ -93,7 +93,7 @@ * * WC_LIST * - data contains type (sync, ...) - * - follwed by code for this list + * - followed by code for this list * - if not (type & Z_END), followed by next WC_LIST * * WC_SUBLIST @@ -139,7 +139,7 @@ * - followed by offset to first string * - followed by length of string table * - followed by number of patterns for body - * - follwoed by codes for body + * - followed by codes for body * - followed by strings for body * * WC_FOR Index: Src/pattern.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/pattern.c,v retrieving revision 1.11 diff -u -r1.11 pattern.c --- Src/pattern.c 22 Jan 2002 12:40:26 -0000 1.11 +++ Src/pattern.c 5 Aug 2002 11:40:03 -0000 @@ -70,7 +70,7 @@ #include "pattern.pro" -/* Number of active parenthesised expressions allowed in backreferencing */ +/* Number of active parenthesized expressions allowed in backreferencing */ #define NSUBEXP 9 /* definition number opnd? meaning */ @@ -119,7 +119,7 @@ * * P_ANY, P_ANYOF: the operand is a null terminated * string. Normal characters match as expected. Characters - * in the range Meta+PP_ALPHA..Meta+PP_UNKNWN do the approprate + * in the range Meta+PP_ALPHA..Meta+PP_UNKNWN do the appropriate * Posix range tests. This relies on imeta returning true for these * characters. We treat unknown POSIX ranges as never matching. * PP_RANGE means the next two (possibly metafied) characters form @@ -448,7 +448,7 @@ } /* - * Main body or parenthesised subexpression in pattern + * Main body or parenthesized subexpression in pattern * Parenthesis (and any ksh_glob gubbins) will have been removed. */ @@ -830,7 +830,7 @@ for (;;) { /* * Check if we have a string. First, we need to make sure - * the string doesn't introduce a ksh-like parenthesised expression. + * the string doesn't introduce a ksh-like parenthesized expression. */ kshchar = '\0'; if (isset(KSHGLOB) && *patparse && patparse[1] == Inpar) { @@ -1972,7 +1972,7 @@ * This is just simple cases, matching one character. * With approximations, we still handle * this way, since * no approximation is ever necessary, but other closures - * are handled by the more compicated branching method + * are handled by the more complicated branching method */ op = P_OP(scan); /* Note that no counts possibly metafied characters */ Index: Src/prompt.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/prompt.c,v retrieving revision 1.9 diff -u -r1.9 prompt.c --- Src/prompt.c 31 Jan 2002 15:13:27 -0000 1.9 +++ Src/prompt.c 5 Aug 2002 11:40:03 -0000 @@ -75,7 +75,7 @@ static char *bufline; -/* bp1 is an auxilliary pointer into the buffer, which when non-NULL is * +/* bp1 is an auxiliary pointer into the buffer, which when non-NULL is * * moved whenever the buffer is reallocated. It is used when data is * * being temporarily held in the buffer. */ Index: Src/utils.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/utils.c,v retrieving revision 1.40 diff -u -r1.40 utils.c --- Src/utils.c 21 May 2002 11:10:16 -0000 1.40 +++ Src/utils.c 5 Aug 2002 11:40:03 -0000 @@ -2553,7 +2553,7 @@ /* Escape tokens and null characters. Buf is the string which should be * * escaped. len is the length of the string. If len is -1, buf should be * - * null terminated. If len is non-negative and the third paramerer is not * + * null terminated. If len is non-negative and the third parameter is not * * META_DUP, buf should point to an at least len+1 long memory area. The * * return value points to the quoted string. If the given string does not * * contain any special character which should be quoted and the third * Index: Src/zsh.h =================================================================== RCS file: /cvsroot/zsh/zsh/Src/zsh.h,v retrieving revision 1.39 diff -u -r1.39 zsh.h --- Src/zsh.h 1 Jul 2002 08:25:17 -0000 1.39 +++ Src/zsh.h 5 Aug 2002 11:40:04 -0000 @@ -476,7 +476,7 @@ #define MAX_ARRLEN 262144 /********************************************/ -/* Defintions for word code */ +/* Definitions for word code */ /********************************************/ typedef unsigned int wordcode; @@ -680,7 +680,7 @@ #define WCB_AUTOFN() wc_bld(WC_AUTOFN, 0) /********************************************/ -/* Defintions for job table and job control */ +/* Definitions for job table and job control */ /********************************************/ #ifdef NEED_LINUX_TASKS_H @@ -1181,7 +1181,7 @@ * could a lot of other things. */ -#define SUB_END 0x0001 /* match end instead of begining, % or %% */ +#define SUB_END 0x0001 /* match end instead of beginning, % or %% */ #define SUB_LONG 0x0002 /* % or # doubled, get longest match */ #define SUB_SUBSTR 0x0004 /* match a substring */ #define SUB_MATCH 0x0008 /* include the matched portion */ @@ -1486,7 +1486,7 @@ #define islogin (isset(LOGINSHELL)) /***********************************************/ -/* Defintions for terminal and display control */ +/* Definitions for terminal and display control */ /***********************************************/ /* tty state structure */