This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH]: adds missing System properties for gcj under mingw
>>>>> "Adam" == Adam Megacz <adam@megacz.com> writes:
Adam> Bryce, before you check it in, could you change this line to:
Adam> + SET ("java.io.tmpdir", GetTempPath());
I'm checking this in.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* win32.cc (_Jv_platform_initProperties): Use GetTempPath.
Index: win32.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/win32.cc,v
retrieving revision 1.4.8.4
diff -u -r1.4.8.4 win32.cc
--- win32.cc 7 Apr 2002 11:30:07 -0000 1.4.8.4
+++ win32.cc 9 Apr 2002 17:40:07 -0000
@@ -76,7 +76,7 @@
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;