* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
From-SVN: r52183
This commit is contained in:
parent
7825d1cf58
commit
c646bade05
@ -1,3 +1,7 @@
|
||||
2002-04-11 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
|
||||
|
||||
2002-04-11 Adam King <aking@dreammechanics.com>
|
||||
Tom Tromey <tromey@redhat.com>
|
||||
|
||||
|
@ -88,7 +88,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
||||
if (GetTempPath (buflen, buffer))
|
||||
SET ("java.io.tmpdir", buffer);
|
||||
|
||||
_Jv_free (buffer);
|
||||
_Jv_Free (buffer);
|
||||
}
|
||||
|
||||
// Use GetUserName to set 'user.name'.
|
||||
@ -98,7 +98,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
||||
{
|
||||
if (GetUserName (buffer, &buflen))
|
||||
SET ("user.name", buffer);
|
||||
_Jv_free (buffer);
|
||||
_Jv_Free (buffer);
|
||||
}
|
||||
|
||||
// According to the api documentation for 'GetWindowsDirectory()', the
|
||||
@ -118,7 +118,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
||||
{
|
||||
if (GetWindowsDirectory (winHome, MAX_PATH))
|
||||
SET ("user.home", winHome);
|
||||
_Jv_free (winHome);
|
||||
_Jv_Free (winHome);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -137,7 +137,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
|
||||
sprintf (buffer, "%d.%d", (int) osvi.dwMajorVersion,
|
||||
(int) osvi.dwMinorVersion);
|
||||
SET ("os.version", buffer);
|
||||
_Jv_free (buffer);
|
||||
_Jv_Free (buffer);
|
||||
}
|
||||
|
||||
switch (osvi.dwPlatformId)
|
||||
|
Loading…
Reference in New Issue
Block a user