Issue #10616 has been updated by Akira Tanaka.

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.

----------------------------------------
Bug #10616: Dir.mktmpdir is not setting "d" prefix as default
https://bugs.ruby-lang.org/issues/10616#change-50525

* Author: Alex Slynko
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.2.0.preview1, 2.2.0.preview2
* Backport: 
----------------------------------------
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)


-- 
https://bugs.ruby-lang.org/