Project

General

Profile

Actions

Bug #10616

closed

Dir.mktmpdir is not setting "d" prefix as default

Added by alex_slynko (Alex Slynko) about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.2.0.preview1, 2.2.0.preview2
[ruby-core:66943]

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

ruby-changes.patch (518 Bytes) ruby-changes.patch alex_slynko (Alex Slynko), 12/18/2014 10:38 AM

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

Also available in: Atom PDF

Like0
Like0Like0Like0