Commit c646bade by Tom Tromey Committed by Tom Tromey

* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.

From-SVN: r52183
parent 7825d1cf
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> 2002-04-11 Adam King <aking@dreammechanics.com>
Tom Tromey <tromey@redhat.com> Tom Tromey <tromey@redhat.com>
......
...@@ -88,7 +88,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops) ...@@ -88,7 +88,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
if (GetTempPath (buflen, buffer)) if (GetTempPath (buflen, buffer))
SET ("java.io.tmpdir", buffer); SET ("java.io.tmpdir", buffer);
_Jv_free (buffer); _Jv_Free (buffer);
} }
// Use GetUserName to set 'user.name'. // Use GetUserName to set 'user.name'.
...@@ -98,7 +98,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops) ...@@ -98,7 +98,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
{ {
if (GetUserName (buffer, &buflen)) if (GetUserName (buffer, &buflen))
SET ("user.name", buffer); SET ("user.name", buffer);
_Jv_free (buffer); _Jv_Free (buffer);
} }
// According to the api documentation for 'GetWindowsDirectory()', the // According to the api documentation for 'GetWindowsDirectory()', the
...@@ -118,7 +118,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops) ...@@ -118,7 +118,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
{ {
if (GetWindowsDirectory (winHome, MAX_PATH)) if (GetWindowsDirectory (winHome, MAX_PATH))
SET ("user.home", winHome); SET ("user.home", winHome);
_Jv_free (winHome); _Jv_Free (winHome);
} }
} }
} }
...@@ -137,7 +137,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops) ...@@ -137,7 +137,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
sprintf (buffer, "%d.%d", (int) osvi.dwMajorVersion, sprintf (buffer, "%d.%d", (int) osvi.dwMajorVersion,
(int) osvi.dwMinorVersion); (int) osvi.dwMinorVersion);
SET ("os.version", buffer); SET ("os.version", buffer);
_Jv_free (buffer); _Jv_Free (buffer);
} }
switch (osvi.dwPlatformId) switch (osvi.dwPlatformId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment