Project

General

Profile

Bug #10616

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

Added by alex_slynko (Alex Slynko) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
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) over 5 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) over 5 years ago

  • Backport set to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED

Updated by naruse (Yui NARUSE) over 5 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.

Also available in: Atom PDF