about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-04-25 11:18:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-04-25 11:18:50 +0000
commita5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe (patch)
treeabf9f9bdf206887f87412f272066e0689f481c30 /Src
parent83932ba23f06a467f33b4138484f7b0423660182 (diff)
downloadzsh-a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe.tar.gz
zsh-a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe.tar.xz
zsh-a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe.zip
18472: spelling corrections
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zselect.c2
-rw-r--r--Src/zsh.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Src/Modules/zselect.c b/Src/Modules/zselect.c
index 25954559b..91c4ee78f 100644
--- a/Src/Modules/zselect.c
+++ b/Src/Modules/zselect.c
@@ -233,7 +233,7 @@ bin_zselect(char *nam, char **args, Options ops, int func)
 			zaddlinknode(fdlist, ztrdup(buf));
 		    }
 		} else {
-		    /* List of fd's preceeded by -r, -w, -e. */
+		    /* List of fd's preceded by -r, -w, -e. */
 		    if (!doneit) {
 			buf[0] = '-';
 			buf[1] = fdchar[i];
diff --git a/Src/zsh.h b/Src/zsh.h
index aa2c11fe3..bcde57bb4 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -939,7 +939,7 @@ struct funcwrap {
  * Handling of options.
  *
  * Option strings are standard in that a trailing `:' indicates
- * a mandatory argument.  In addtion, `::' indicates an optional
+ * a mandatory argument.  In addition, `::' indicates an optional
  * argument which must immediately follow the option letter if it is present.
  * `:%' indicates an optional numeric argument which may follow
  * the option letter or be in the next word; the only test is
@@ -1014,7 +1014,7 @@ struct builtin {
 #define BINF_SKIPINVALID	(1<<12)	/* Treat invalid option as argument */
 #define BINF_KEEPNUM		(1<<13) /* `[-+]NUM' can be an option */
 #define BINF_SKIPDASH		(1<<14) /* Treat `-' as argument (maybe `+') */
-#define BINF_DASHDASHVALID	(1<<15) /* Handle `--' evenf if SKIPINVALD */
+#define BINF_DASHDASHVALID	(1<<15) /* Handle `--' even if SKIPINVALD */
 
 struct module {
     char *nam;