summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/File-Glob/Glob.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File-Glob/Glob.xs b/ext/File-Glob/Glob.xs
index c055d1ba2f..030e827c0a 100644
--- a/ext/File-Glob/Glob.xs
+++ b/ext/File-Glob/Glob.xs
@@ -132,7 +132,7 @@ csh_glob(pTHX)
}
if (piece) sv_catpvn(word, piece, s-piece);
piece = s+1;
- while (++s <= patend)
+ while (++s < patend)
if (*s == '\\') {
s++;
/* If the backslash is here to escape a quote,