CVS: winex/dlls/dbghelp minidump.c,1.6,1.7

[email protected] 27 Nov 2007 18:37:50 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/dbghelp minidump.c,1.6,1.7Update of /var/lib/cvsd/cvsroot/winex/dlls/dbghelp
In directory agravaine:/tmp/cvs-serv27338/dlls/dbghelp

Modified Files:
	minidump.c 
Log Message:
corrected the thread suspend count in the minidumps
trac #2293

- the thread suspend count was off by one when writing to the minidump files.  Corrected this error.

Signed-off-by: James Helferty
Signed-off-by: Mark Adams
Signed-off-by: Gavriel State


Index: minidump.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/dbghelp/minidump.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- minidump.c	27 Nov 2007 18:37:00 -0000	1.6
+++ minidump.c	27 Nov 2007 18:37:48 -0000	1.7
@@ -184,7 +184,6 @@
             if (tid != GetCurrentThreadId() &&
                 (mdThd->SuspendCount = SuspendThread(hThread)) != (DWORD)-1)
             {
-                mdThd->SuspendCount--;
                 ctx->ContextFlags = CONTEXT_FULL;
                 if (!GetThreadContext(hThread, ctx))
                     memset(ctx, 0, sizeof(*ctx));