about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2020-01-09 14:38:30 +0100
committerMikael Magnusson <mikachu@gmail.com>2020-01-09 14:49:55 +0100
commite6fa0b3b6568fa8c0d1173fdc822c97c41a2f763 (patch)
treeeb9180867341709448411345a9396014e373307d /Src
parent11dbe4c286330f81fae5ac6d5f698f5ddb748710 (diff)
downloadzsh-e6fa0b3b6568fa8c0d1173fdc822c97c41a2f763.tar.gz
zsh-e6fa0b3b6568fa8c0d1173fdc822c97c41a2f763.tar.xz
zsh-e6fa0b3b6568fa8c0d1173fdc822c97c41a2f763.zip
Fix typos reported by codespell in Src/
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zftp.c2
-rw-r--r--Src/Zle/compmatch.c2
-rw-r--r--Src/sort.c2
-rw-r--r--Src/zsh.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index 8bebc020d..e8e239e76 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -237,7 +237,7 @@ enum {
 /*
  * We keep an fd open for communication between the main shell
  * and forked off bits and pieces.  This allows us to know
- * if something happend in a subshell:  mode changed, type changed,
+ * if something happened in a subshell:  mode changed, type changed,
  * connection was closed.  If something too substantial happened
  * in a subshell --- connection opened, ZFTP_USER and ZFTP_PWD changed
  * --- we don't try to track it because it's too complicated.
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 1cdbb8a48..cc4c3eca9 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1399,7 +1399,7 @@ pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen,
 	if (prestrict->tp == CPAT_CHAR) {
 	    /*
 	     * Easy case: restricted to an exact character on
-	     * the line.  Procede as normal.
+	     * the line.  Proceed as normal.
 	     */
 	    c = prestrict->u.chr;
 	} else {
diff --git a/Src/sort.c b/Src/sort.c
index 562b89491..8faf9349c 100644
--- a/Src/sort.c
+++ b/Src/sort.c
@@ -250,7 +250,7 @@ strmetasort(char **array, int sortwhat, int *unmetalenp)
 	if (unmetalenp) {
 	    /*
 	     * Already unmetafied.  We just need to check for
-	     * embededded nulls.
+	     * embedded nulls.
 	     */
 	    int count = unmetalenp[arrptr-array];
 	    /* Remember this length for sorted array */
diff --git a/Src/zsh.h b/Src/zsh.h
index 89b393945..834142895 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -2999,7 +2999,7 @@ struct sortelt {
     int origlen;
     /*
      * The length of the string, if needed, else -1.
-     * The length is only needed if there are embededded nulls.
+     * The length is only needed if there are embedded nulls.
      */
     int len;
 };