Issue #10616 has been updated by Tomoyuki Chikanaga.

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

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

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