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
3f3f673c
Commit
3f3f673c
authored
Feb 19, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print the version mismatch error from the Unix side.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4b0f2eb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
loader.c
dlls/ntdll/loader.c
+1
-1
process.c
dlls/ntdll/unix/process.c
+3
-0
No files found.
dlls/ntdll/loader.c
View file @
3f3f673c
...
...
@@ -4108,7 +4108,7 @@ static NTSTATUS process_init(void)
*/
NTSTATUS
CDECL
__wine_set_unix_funcs
(
int
version
,
const
struct
unix_funcs
*
funcs
)
{
assert
(
version
==
NTDLL_UNIXLIB_VERSION
)
;
if
(
version
!=
NTDLL_UNIXLIB_VERSION
)
return
STATUS_REVISION_MISMATCH
;
unix_funcs
=
funcs
;
return
process_init
();
}
dlls/ntdll/unix/process.c
View file @
3f3f673c
...
...
@@ -701,6 +701,9 @@ done:
case
STATUS_INVALID_IMAGE_NOT_MZ
:
ERR
(
"%s not supported on this system
\n
"
,
debugstr_us
(
&
params
->
ImagePathName
)
);
break
;
case
STATUS_REVISION_MISMATCH
:
ERR
(
"ntdll library version mismatch
\n
"
);
break
;
default:
ERR
(
"failed to load %s error %x
\n
"
,
debugstr_us
(
&
params
->
ImagePathName
),
status
);
break
;
...
...
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