ruby-changes:33888
From: nobu <ko1@a...>
Date: Sat, 17 May 2014 11:02:56 +0900 (JST)
Subject: [ruby-changes:33888] nobu:r45969 (trunk): dir.c: try match PLAIN
nobu 2014-05-17 11:02:51 +0900 (Sat, 17 May 2014) New Revision: 45969 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45969 Log: 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] Modified files: trunk/ChangeLog trunk/dir.c Index: ChangeLog =================================================================== --- ChangeLog (revision 45968) +++ ChangeLog (revision 45969) @@ -1,4 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 -Sat May 17 10:40:33 2014 Nobuyoshi Nakada <nobu@r...> +Sat May 17 11:02:49 2014 Nobuyoshi Nakada <nobu@r...> + + * dir.c (glob_helper): try match PLAIN as well as ALPHA, which are + separated by previous commits. [ruby-core:61552] [Bug #9648] * dir.c (glob_make_pattern): set PLAIN for non-magical path to skip parts which not need to glob. Index: dir.c =================================================================== --- dir.c (revision 45968) +++ dir.c (revision 45969) @@ -1508,6 +1508,7 @@ glob_helper( https://github.com/ruby/ruby/blob/trunk/dir.c#L1508 break; } # endif + case PLAIN: case MAGICAL: if (fnmatch(p->str, enc, name, flags) == 0) *new_end++ = p->next; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/