Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5142e56a
Commit
5142e56a
authored
Apr 21, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Clear the %fs register we got from Android to force allocating a new one.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2b1b7a0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
loader.c
libs/wine/loader.c
+9
-0
No files found.
libs/wine/loader.c
View file @
5142e56a
...
...
@@ -887,7 +887,16 @@ static jstring wine_init_jni( JNIEnv *env, jobject obj, jobjectArray cmdline, jo
java_object
=
(
*
env
)
->
NewGlobalRef
(
env
,
obj
);
#ifdef __i386__
{
unsigned
short
java_fs
=
wine_get_fs
();
wine_set_fs
(
0
);
wine_init
(
argc
,
argv
,
error
,
sizeof
(
error
)
);
wine_set_fs
(
java_fs
);
}
#else
wine_init
(
argc
,
argv
,
error
,
sizeof
(
error
)
);
#endif
return
(
*
env
)
->
NewStringUTF
(
env
,
error
);
}
...
...
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