Added patch to change winedbg bug reporting URL to bugs.wine-staging.com.

This commit is contained in:
Sebastian Lackner
2014-11-29 21:08:08 +01:00
parent 4afa857aee
commit bb57db5f98
7 changed files with 888 additions and 14 deletions

View File

@@ -1,15 +1,15 @@
From 3e4695fd4eab3f7666cd5361f98f2ace34c43739 Mon Sep 17 00:00:00 2001
From 948a8706d6045fb6f8f624072bfa6ab97e91dc16 Mon Sep 17 00:00:00 2001
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.
---
dlls/kernel32/process.c | 11 +++++++++++
1 file changed, 11 insertions(+)
dlls/kernel32/process.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 301c64a..5c5be22 100644
index 0a087ab..1052a79 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -65,6 +65,7 @@
@@ -20,23 +20,22 @@ index 301c64a..5c5be22 100644
#ifdef __APPLE__
extern char **__wine_get_main_environment(void);
@@ -1092,6 +1093,16 @@ static DWORD WINAPI start_process( PEB *peb )
@@ -1099,6 +1100,15 @@ static DWORD WINAPI start_process( PEB *peb )
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. */
+ if (CreateEventA(0, 0, 0, "__winestaging_warn_event") && GetLastError() != ERROR_ALREADY_EXISTS)
+ {
+ FIXME_(winediag)("Wine Staging is a Wine testing version containing experimental patches.\n");
+ FIXME_(winediag)("Please don't report bugs at winehq.org and use our issue tracker instead:\n");
+ FIXME_(winediag)("https://github.com/wine-compholio/wine-staging/issues\n");
+ FIXME_(winediag)("Wine Staging is a testing version containing experimental patches.\n");
+ FIXME_(winediag)("Please report bugs at http://bugs.wine-staging.com (instead of winehq.org).\n");
+ }
+ else
+ WARN_(winediag)("Wine Staging is a Wine testing version containing experimental patches.\n");
+ WARN_(winediag)("Wine Staging is a testing version containing experimental patches.\n");
+
SetLastError( 0 ); /* clear error code */
if (peb->BeingDebugged) DbgBreakPoint();
return call_process_entry( peb, entry );
--
2.1.1
2.1.3

File diff suppressed because it is too large Load Diff