Actions
Bug #10616
closedDir.mktmpdir is not setting "d" prefix as default
Description
In Ruby < 2.2.0 when nil was passed as first parameter it was changed to "d"
In latest version this behaviour was changed and now 'd' is default value, but if nil was passed Exception is raised.
I attached tiny patch to this.
Files
Updated by akr (Akira Tanaka) about 10 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r48905.
- lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1.
[ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.
Updated by nagachika (Tomoyuki Chikanaga) about 10 years ago
- Backport set to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED
Updated by naruse (Yui NARUSE) almost 10 years ago
- Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
ruby_2_2 r48947 merged revision(s) 48905.
Actions
Like0
Like0Like0Like0