diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-24 08:17:10 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-24 08:17:10 +0000 |
commit | 77d7ff7cbe2273457d3770ac9d267294afc8ef45 (patch) | |
tree | 4a6a184562cd8fa7ed2a7d8981395b7b832c3af6 /dir.c | |
parent | d22ade523fbe9ebf4b4f8ca617385a538438554a (diff) | |
download | ruby-77d7ff7cbe2273457d3770ac9d267294afc8ef45.tar.gz |
* dir.c (fnmatch): File.fnmatch with FNM_PATHNAME was broken
for the pattern including '*' followed by '/'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -250,6 +250,7 @@ fnmatch(pat, string, flags) s = rb_path_next(s); if (*s) { INC_S(); + ++pat; break; } return FNM_NOMATCH; |