diff options
author | Tom Tromey <tromey@redhat.com> | 2002-04-09 17:44:32 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-04-09 17:44:32 +0000 |
commit | 42aacdfbb8e0f82db83a16facd6662836b648733 (patch) | |
tree | 130e4b3bced7853ae8c2b44eab1ed5986eff8006 /libjava | |
parent | 02f136ee0d7c29cb8721a30107d7b6ef7f5279c0 (diff) | |
download | gcc-42aacdfbb8e0f82db83a16facd6662836b648733.zip gcc-42aacdfbb8e0f82db83a16facd6662836b648733.tar.gz gcc-42aacdfbb8e0f82db83a16facd6662836b648733.tar.bz2 |
* win32.cc (_Jv_platform_initProperties): Use GetTempPath.
From-SVN: r52084
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 a9d1b24..8d8bf19 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 78f57b3..67949ee 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; |