Issue #10616 has been updated by Yui NARUSE.

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.

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

* 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: DONE
----------------------------------------
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/