2015-05-26 14:06:47 -07:00
|
|
|
From 598daa857778080524e3de4a5668a834ab084564 Mon Sep 17 00:00:00 2001
|
2014-10-02 11:04:58 -07:00
|
|
|
From: Sebastian Lackner <sebastian@fds-team.de>
|
|
|
|
Date: Thu, 2 Oct 2014 19:44:31 +0200
|
|
|
|
Subject: kernel32: Add winediag message to show warning, that this isn't
|
|
|
|
vanilla wine.
|
|
|
|
|
|
|
|
---
|
2014-11-29 12:08:08 -08:00
|
|
|
dlls/kernel32/process.c | 10 ++++++++++
|
|
|
|
1 file changed, 10 insertions(+)
|
2014-10-02 11:04:58 -07:00
|
|
|
|
|
|
|
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
|
2015-05-26 14:06:47 -07:00
|
|
|
index 2c8074b..70b2579 100644
|
2014-10-02 11:04:58 -07:00
|
|
|
--- a/dlls/kernel32/process.c
|
|
|
|
+++ b/dlls/kernel32/process.c
|
|
|
|
@@ -65,6 +65,7 @@
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(process);
|
|
|
|
WINE_DECLARE_DEBUG_CHANNEL(file);
|
|
|
|
WINE_DECLARE_DEBUG_CHANNEL(relay);
|
|
|
|
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
|
|
|
extern char **__wine_get_main_environment(void);
|
2014-11-29 12:08:08 -08:00
|
|
|
@@ -1099,6 +1100,15 @@ static DWORD WINAPI start_process( PEB *peb )
|
2014-10-02 11:04:58 -07:00
|
|
|
DPRINTF( "%04x:Starting process %s (entryproc=%p)\n", GetCurrentThreadId(),
|
|
|
|
debugstr_w(peb->ProcessParameters->ImagePathName.Buffer), entry );
|
|
|
|
|
|
|
|
+ /* Wine developers don't like it, when bug are reported with Wine versions containing our patches. */
|
2014-11-03 16:47:28 -08:00
|
|
|
+ if (CreateEventA(0, 0, 0, "__winestaging_warn_event") && GetLastError() != ERROR_ALREADY_EXISTS)
|
2014-10-02 11:04:58 -07:00
|
|
|
+ {
|
2015-05-26 14:06:47 -07:00
|
|
|
+ FIXME_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version());
|
2014-11-29 12:08:08 -08:00
|
|
|
+ FIXME_(winediag)("Please report bugs at http://bugs.wine-staging.com (instead of winehq.org).\n");
|
2014-10-02 11:04:58 -07:00
|
|
|
+ }
|
|
|
|
+ else
|
2015-05-26 14:06:47 -07:00
|
|
|
+ WARN_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version());
|
2014-10-02 11:04:58 -07:00
|
|
|
+
|
|
|
|
SetLastError( 0 ); /* clear error code */
|
|
|
|
if (peb->BeingDebugged) DbgBreakPoint();
|
|
|
|
return call_process_entry( peb, entry );
|
|
|
|
--
|
2015-05-26 14:06:47 -07:00
|
|
|
2.4.1
|
2014-10-02 11:04:58 -07:00
|
|
|
|