* win32.cc (_Jv_platform_initProperties): Use GetTempPath.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Apr 2002 17:44:32 +0000 (17:44 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Apr 2002 17:44:32 +0000 (17:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52084 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/win32.cc

index a9d1b24..8d8bf19 100644 (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:
index 78f57b3..67949ee 100644 (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;