From: bughit.github@... Date: 2019-01-15T23:15:55+00:00 Subject: [ruby-core:91110] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression Issue #15540 has been reported by bughit (bug hit). ---------------------------------------- Bug #15540: 2.6.0 Dir#glob regression https://bugs.ruby-lang.org/issues/15540 * Author: bughit (bug hit) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- in an empty base folder create the following structure ``` . ��������� c ��������� d ������� ��������� a ������� ��������� a.file ������� ��������� b ������� ��������� b.file ������� ��������� c ������� ��������� c.file ��������� e ��������� a ��������� a.file ��������� b ��������� b.file ��������� c ��������� c.file ``` execute the following in the base folder: `ruby -v -e 'pp Dir["c/{d,e}/a/**/"]'` before 2.6 ``` ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] ["c/d/a/", "c/d/a/b/", "c/d/a/b/c/", "c/e/a/", "c/e/a/b/", "c/e/a/b/c/"] ``` 2.6 ``` ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux] ["c/d/a/a.file", "c/d/a/b", "c/e/a/a.file", "c/e/a/b"] ``` -- https://bugs.ruby-lang.org/ Unsubscribe: