summaryrefslogtreecommitdiff
path: root/ext/File/Glob/bsd_glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/File/Glob/bsd_glob.c')
-rw-r--r--ext/File/Glob/bsd_glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File/Glob/bsd_glob.c b/ext/File/Glob/bsd_glob.c
index 6989df883c..83d71f0b0f 100644
--- a/ext/File/Glob/bsd_glob.c
+++ b/ext/File/Glob/bsd_glob.c
@@ -1209,7 +1209,7 @@ qprintf(const char *str, register Char *s)
#ifdef MACOS_TRADITIONAL
-/* Replace the last occurence of the pattern ":[^:]+::", e.g. ":lib::",
+/* Replace the last occurrence of the pattern ":[^:]+::", e.g. ":lib::",
with a single ':', if possible. It is not an error, if the pattern
doesn't match (we return -1), but if there are two consecutive colons
'::', there must be a preceding ':[^:]+'. Hence, a volume path like