From: WATANABE Hirofumi Date: 2003-07-22T01:47:03+09:00 Subject: [ruby-dev:20765] Re: [ruby-cvs] ruby/lib: * lib/tmpdir.rb: new library to get temporary directory path, わたなべです。 matz writes: > Log: > * lib/tmpdir.rb: new library to get temporary directory path, > using GetTempPath on Win32 environment. GetTempPathは [ruby-talk:76524] によると ## 1. The path specified by the TMP environment variable. ## 2. The path specified by the TEMP environment variable, if TMP is not defined. ## 3. The current directory, if both TMP and TEMP are not defined. ということみたいですが、これでは$SAFEに関係なくWIN32APIが使 える処理系では結局環境変数を参照することになります。 それでいいのですか? -- わたなべひろふみ