summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-17 02:02:51 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-17 02:02:51 (GMT)
commitc466dcc05bd9b95717dba424be9535e2e75822bc (patch)
tree7794c0f7f02c26c25dadda5c6cfa2e1beeabc046 /dir.c
parentf88481740a8f633ea02067baa00eaf94a29421fb (diff)
dir.c: try match PLAIN
* dir.c (glob_helper): try match PLAIN as well as ALPHA, which are separated by previous commits. [ruby-core:61552] [Bug #9648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 064609c..c7bddf4 100644
--- a/dir.c
+++ b/dir.c
@@ -1508,6 +1508,7 @@ glob_helper(
break;
}
# endif
+ case PLAIN:
case MAGICAL:
if (fnmatch(p->str, enc, name, flags) == 0)
*new_end++ = p->next;