mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/tmpdir.rb (tmpdir): new method. remove TMPDIR.
use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
231247c010
commit
02f036ddbc
5 changed files with 39 additions and 18 deletions
|
@ -53,7 +53,7 @@ module DRb
|
|||
Max_try = 10
|
||||
private
|
||||
def self.temp_server
|
||||
tmpdir = Dir::TMPDIR
|
||||
tmpdir = Dir::tmpdir
|
||||
n = 0
|
||||
while true
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue