* [ruby-core:91110] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression
[not found] <redmine.issue-15540.20190115231553@ruby-lang.org>
@ 2019-01-15 23:15 ` bughit.github
2019-01-16 5:56 ` [ruby-core:91118] " h.shirosaki
2019-01-17 21:47 ` [ruby-core:91146] " naruse
2 siblings, 0 replies; 3+ messages in thread
From: bughit.github @ 2019-01-15 23:15 UTC (permalink / raw)
To: ruby-core
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:91118] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression
[not found] <redmine.issue-15540.20190115231553@ruby-lang.org>
2019-01-15 23:15 ` [ruby-core:91110] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression bughit.github
@ 2019-01-16 5:56 ` h.shirosaki
2019-01-17 21:47 ` [ruby-core:91146] " naruse
2 siblings, 0 replies; 3+ messages in thread
From: h.shirosaki @ 2019-01-16 5:56 UTC (permalink / raw)
To: ruby-core
Issue #15540 has been updated by h.shirosaki (Hiroshi Shirosaki).
Backport changed from 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED
ruby -v set to ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]
File 0001-dir.c-fix-Dir.glob-with-braces-and-matching-dir.patch added
Thanks for report. I attached a patch for the issue.
----------------------------------------
Bug #15540: 2.6.0 Dir#glob regression
https://bugs.ruby-lang.org/issues/15540#change-76350
* Author: bughit (bug hit)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]
* Backport: 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED
----------------------------------------
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"]
```
---Files--------------------------------
0001-dir.c-fix-Dir.glob-with-braces-and-matching-dir.patch (1.74 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:91146] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression
[not found] <redmine.issue-15540.20190115231553@ruby-lang.org>
2019-01-15 23:15 ` [ruby-core:91110] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression bughit.github
2019-01-16 5:56 ` [ruby-core:91118] " h.shirosaki
@ 2019-01-17 21:47 ` naruse
2 siblings, 0 replies; 3+ messages in thread
From: naruse @ 2019-01-17 21:47 UTC (permalink / raw)
To: ruby-core
Issue #15540 has been updated by naruse (Yui NARUSE).
Backport changed from 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE
ruby_2_6 r66848 merged revision(s) 66838.
----------------------------------------
Bug #15540: 2.6.0 Dir#glob regression
https://bugs.ruby-lang.org/issues/15540#change-76376
* Author: bughit (bug hit)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]
* Backport: 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE
----------------------------------------
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"]
```
---Files--------------------------------
0001-dir.c-fix-Dir.glob-with-braces-and-matching-dir.patch (1.74 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-17 21:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-15540.20190115231553@ruby-lang.org>
2019-01-15 23:15 ` [ruby-core:91110] [Ruby trunk Bug#15540] 2.6.0 Dir#glob regression bughit.github
2019-01-16 5:56 ` [ruby-core:91118] " h.shirosaki
2019-01-17 21:47 ` [ruby-core:91146] " naruse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).