Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
8f01a663
Commit
8f01a663
authored
Oct 02, 2014
by
Sebastian Lackner
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print a warning message specifying the wine-staging branch name and version.
parent
e55fa2d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
loader.c
dlls/ntdll/loader.c
+15
-0
No files found.
dlls/ntdll/loader.c
View file @
8f01a663
...
...
@@ -44,6 +44,7 @@ WINE_DECLARE_DEBUG_CHANNEL(relay);
WINE_DECLARE_DEBUG_CHANNEL
(
snoop
);
WINE_DECLARE_DEBUG_CHANNEL
(
loaddll
);
WINE_DECLARE_DEBUG_CHANNEL
(
imports
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
#ifdef _WIN64
#define DEFAULT_SECURITY_COOKIE_64 (((ULONGLONG)0x00002b99 << 32) | 0x2ddfa232)
...
...
@@ -3654,6 +3655,7 @@ void WINAPI LdrShutdownProcess(void)
process_detach
();
}
extern
const
char
*
CDECL
wine_get_version
(
void
);
/******************************************************************
* RtlExitUserProcess (NTDLL.@)
...
...
@@ -4076,6 +4078,9 @@ static void release_address_space(void)
*/
void
WINAPI
LdrInitializeThunk
(
CONTEXT
*
context
,
ULONG_PTR
unknown2
,
ULONG_PTR
unknown3
,
ULONG_PTR
unknown4
)
{
OBJECT_ATTRIBUTES
staging_event_attr
;
UNICODE_STRING
staging_event_string
;
HANDLE
staging_event
;
static
int
attach_done
;
NTSTATUS
status
;
ULONG_PTR
cookie
;
...
...
@@ -4164,6 +4169,16 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR
if
(
NtCurrentTeb
()
->
WowTebOffset
)
init_wow64
(
context
);
#endif
RtlInitUnicodeString
(
&
staging_event_string
,
L"
\\
__wine_staging_warn_event"
);
InitializeObjectAttributes
(
&
staging_event_attr
,
&
staging_event_string
,
OBJ_OPENIF
,
NULL
,
NULL
);
if
(
NtCreateEvent
(
&
staging_event
,
EVENT_ALL_ACCESS
,
&
staging_event_attr
,
NotificationEvent
,
FALSE
)
==
STATUS_SUCCESS
)
{
FIXME_
(
winediag
)(
"wine-staging %s is a testing version containing experimental patches.
\n
"
,
wine_get_version
());
FIXME_
(
winediag
)(
"Please mention your exact version when filing bug reports on winehq.org.
\n
"
);
}
else
WARN_
(
winediag
)(
"wine-staging %s is a testing version containing experimental patches.
\n
"
,
wine_get_version
());
RtlAcquirePebLock
();
InsertHeadList
(
&
tls_links
,
&
NtCurrentTeb
()
->
TlsLinks
);
RtlReleasePebLock
();
...
...
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