diff options
author | Martijn Dekker <martijn@inlv.org> | 2019-12-10 20:41:08 +0100 |
---|---|---|
committer | Daniel Shahaf <danielsh@apache.org> | 2019-12-11 02:37:39 +0000 |
commit | c578f0a08b9257f3db85dab5431270f1a6eb8858 (patch) | |
tree | c643f7c8965fa71d4248045d2a1a0b90a0c5a365 /Src/glob.c | |
parent | d81238ee955f074cb2c303ce6047bfa7e513d772 (diff) | |
download | zsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.tar.gz zsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.tar.xz zsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.zip |
45004: Fix typos in comments
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/glob.c b/Src/glob.c index 92fd64e7c..a367b082b 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -274,7 +274,7 @@ addpath(char *s, int l) } /* stat the filename s appended to pathbuf. l should be true for lstat, * - * false for stat. If st is NULL, the file is only checked for existance. * + * false for stat. If st is NULL, the file is only checked for existence. * * s == "" is treated as s == ".". This is necessary since on most systems * * foo/ can be used to reference a non-directory foo. Returns nonzero if * * the file does not exists. */ @@ -566,7 +566,7 @@ scanner(Complist q, int shortcircuit) continue; errsfound = errssofar; if (pattry(p, fn)) { - /* if this name matchs the pattern... */ + /* if this name matches the pattern... */ if (pbcwdsav == pathbufcwd && strlen(fn) + pathpos - pathbufcwd >= PATH_MAX) { int err; |