CVS: winex/win32 except.c,1.7,1.8

[email protected] 31 Jul 2007 20:00:39 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/win32 except.c,1.7,1.8Update of /var/lib/cvsd/cvsroot/winex/win32
In directory agravaine:/tmp/cvs-serv2346/win32

Modified Files:
	except.c 
Log Message:
Ignore insane MS "API" for setting the name of a thread for now.


Index: except.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/win32/except.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- except.c	14 Mar 2005 17:16:16 -0000	1.7
+++ except.c	31 Jul 2007 20:00:37 -0000	1.8
@@ -51,6 +51,13 @@
 {
     EXCEPTION_RECORD record;
 
+    /* Ignore "API" for setting the name of a thread */
+    if (code == 0x406d1388)
+    {
+       FIXME ("Ignoring thread name setting\n");
+       return;
+    }
+
     /* Compose an exception record */
 
     record.ExceptionCode    = code;