diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-23 16:37:35 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-23 16:37:35 +0000 |
commit | 9c6cb448b6faee085ffd4133718c651c2c9de85d (patch) | |
tree | cc4e482833c937fb79e2ec09690f04ed2992fe7a /lib/cgi | |
parent | 2b5c2408119eb7b4605b3bbe4b32d2275afdb867 (diff) | |
download | ruby-9c6cb448b6faee085ffd4133718c651c2c9de85d.tar.gz ruby-9c6cb448b6faee085ffd4133718c651c2c9de85d.tar.xz ruby-9c6cb448b6faee085ffd4133718c651c2c9de85d.zip |
* lib/tmpdir.rb (tmpdir): new method. remove TMPDIR.
use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi')
-rw-r--r-- | lib/cgi/session.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi/session.rb b/lib/cgi/session.rb index ae4fb1944..0ce82b392 100644 --- a/lib/cgi/session.rb +++ b/lib/cgi/session.rb @@ -110,7 +110,7 @@ class CGI end def initialize(session, option={}) - dir = option['tmpdir'] || Dir::TMPDIR + dir = option['tmpdir'] || Dir::tmpdir prefix = option['prefix'] || '' id = session.session_id unless check_id(id) |