Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
443e4908
Commit
443e4908
authored
Dec 19, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add a more explicit failure for 32-bit prefix in wow64 mode.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56039
parent
343398d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
server.c
dlls/ntdll/unix/server.c
+2
-0
No files found.
dlls/ntdll/unix/server.c
View file @
443e4908
...
@@ -1565,6 +1565,8 @@ size_t server_init_process(void)
...
@@ -1565,6 +1565,8 @@ size_t server_init_process(void)
{
{
const
char
*
arch
=
getenv
(
"WINEARCH"
);
const
char
*
arch
=
getenv
(
"WINEARCH"
);
if
(
is_win64
&&
arch
&&
!
strcmp
(
arch
,
"win32"
))
fatal_error
(
"WINEARCH is set to 'win32' but this is not supported in wow64 mode.
\n
"
);
if
(
arch
&&
strcmp
(
arch
,
"win32"
)
&&
strcmp
(
arch
,
"win64"
))
if
(
arch
&&
strcmp
(
arch
,
"win32"
)
&&
strcmp
(
arch
,
"win64"
))
fatal_error
(
"WINEARCH set to invalid value '%s', it must be either win32 or win64.
\n
"
,
arch
);
fatal_error
(
"WINEARCH set to invalid value '%s', it must be either win32 or win64.
\n
"
,
arch
);
...
...
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