summaryrefslogtreecommitdiff
path: root/glob.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2014-02-26 21:07:09 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:24 +0100
commit8ff8b4fee6229914beb8407ff21235e07f9c48f1 (patch)
treeebfb45a0d63215a7280776fa1f9315fc811ac031 /glob.c
parentee7e7d932217dc6d6d7cc14da1b1209365fd22b8 (diff)
various patches from Jakub Wilk
Diffstat (limited to 'glob.c')
-rw-r--r--glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glob.c b/glob.c
index b472af9..5507678 100644
--- a/glob.c
+++ b/glob.c
@@ -143,7 +143,7 @@ static List *dmatch(char *d, char *p, char *m) {
}
/*
- lglob() globs a pattern agains a list of directory roots. e.g., (/tmp /usr /bin) "*"
+ lglob() globs a pattern against a list of directory roots. e.g., (/tmp /usr /bin) "*"
will return a list with all the files in /tmp, /usr, and /bin. NULL on no match.
slashcount indicates the number of slashes to stick between the directory and the
matched name. e.g., for matching ////tmp/////foo*