Reverting part of r40006 that introduced a regression (Arch Blackmann HAS been commit...
authorKJK::Hyperion <hackbunny@reactos.org>
Wed, 8 Jul 2009 00:48:05 +0000 (00:48 +0000)
committerKJK::Hyperion <hackbunny@reactos.org>
Wed, 8 Jul 2009 00:48:05 +0000 (00:48 +0000)
svn path=/trunk/; revision=41801

reactos/lib/3rdparty/mingw/crtexe.c

index 23368b6..a3e613d 100644 (file)
@@ -88,7 +88,7 @@ static _startupinfo startinfo;
 
 extern void _pei386_runtime_relocator (void);
 static long CALLBACK _gnu_exception_handler (EXCEPTION_POINTERS * exception_data);
-static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data);
+//static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data);
 #ifdef WPRFLAG
 static void duplicate_ppstrings (int ac, wchar_t ***av);
 #else
@@ -216,7 +216,7 @@ __tmainCRTStartup (void)
 #if defined(__i386__) || defined(_M_IX86)
        __writefsdword(0, 0xffffffff);
 #endif
-    AddVectoredExceptionHandler (0, (PVECTORED_EXCEPTION_HANDLER)__mingw_vex);
+    //AddVectoredExceptionHandler (0, (PVECTORED_EXCEPTION_HANDLER)__mingw_vex);
     SetUnhandledExceptionFilter (_gnu_exception_handler);
 
     _fpreset ();
@@ -402,6 +402,7 @@ _gnu_exception_handler (EXCEPTION_POINTERS * exception_data)
   return action;
 }
 
+#if 0
 static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data)
 {
   /* TODO this is not chainablem, therefore need rewrite. Disabled the ill code. */
@@ -426,6 +427,7 @@ static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data)
 #endif
   return _gnu_exception_handler(exception_data);
 }
+#endif
 
 #ifdef WPRFLAG