* win32.cc (_Jv_platform_initProperties): Use GetTempPath.

From-SVN: r52084
This commit is contained in:
Tom Tromey 2002-04-09 17:44:32 +00:00 committed by Tom Tromey
parent 02f136ee0d
commit 42aacdfbb8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-04-09 Tom Tromey <tromey@redhat.com>
* win32.cc (_Jv_platform_initProperties): Use GetTempPath.
2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
Fix for PR libgcj/6187:

View File

@ -76,7 +76,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
SET ("file.separator", "\\");
SET ("path.separator", ";");
SET ("line.separator", "\r\n");
SET ("java.io.tmpdir", "C:\\temp");
SET ("java.io.tmpdir", GetTempPath ());
// Use GetCurrentDirectory to set 'user.dir'.
DWORD buflen = MAX_PATH;