Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ef/mingw-rmdir'
[gitweb.git]
/
compat
/
fnmatch
/
fnmatch.c
diff --git
a/compat/fnmatch/fnmatch.c
b/compat/fnmatch/fnmatch.c
index 9473aed2bbcb91994f166cf66d24459c66ac2fcb..0ff1d273a5839d15a908a4ed90b56d59b151e6e0 100644
(file)
--- a/
compat/fnmatch/fnmatch.c
+++ b/
compat/fnmatch/fnmatch.c
@@
-345,7
+345,7
@@
internal_fnmatch (pattern, string, no_leading_period, flags)
for (;;)
{
- if (c1
==
CHAR_CLASS_MAX_LENGTH)
+ if (c1
>
CHAR_CLASS_MAX_LENGTH)
/* The name is too long and therefore the pattern
is ill-formed. */
return FNM_NOMATCH;