diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-09 17:44:32 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-09 17:44:32 +0000 |
commit | b9be9b29be84841fa8bdf64b184d989195a19637 (patch) | |
tree | 130e4b3bced7853ae8c2b44eab1ed5986eff8006 /libjava | |
parent | 3f38c9619954f9b3a81098de30b83953b761ef47 (diff) |
* win32.cc (_Jv_platform_initProperties): Use GetTempPath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/win32.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a9d1b246620..8d8bf19f5dc 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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: diff --git a/libjava/win32.cc b/libjava/win32.cc index 78f57b348dd..67949ee2000 100644 --- a/libjava/win32.cc +++ b/libjava/win32.cc @@ -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; |