Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c646bade
Commit
c646bade
authored
Apr 11, 2002
by
Tom Tromey
Committed by
Tom Tromey
Apr 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
From-SVN: r52183
parent
7825d1cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
libjava/ChangeLog
+4
-0
libjava/win32.cc
+4
-4
No files found.
libjava/ChangeLog
View file @
c646bade
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
>
...
...
libjava/win32.cc
View file @
c646bade
...
...
@@ -88,7 +88,7 @@ _Jv_platform_initProperties (java::util::Properties* newprops)
if
(
GetTempPath
(
buflen
,
buffer
))
SET
(
"java.io.tmpdir"
,
buffer
);
_Jv_
f
ree
(
buffer
);
_Jv_
F
ree
(
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_
f
ree
(
buffer
);
_Jv_
F
ree
(
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_
f
ree
(
winHome
);
_Jv_
F
ree
(
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_
f
ree
(
buffer
);
_Jv_
F
ree
(
buffer
);
}
switch
(
osvi
.
dwPlatformId
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment