Disabled a function-call that crashes all msvcrt-based apps.
authorEric Kohl <eric.kohl@reactos.org>
Fri, 27 Jul 2001 23:54:05 +0000 (23:54 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Fri, 27 Jul 2001 23:54:05 +0000 (23:54 +0000)
Further investigation will be done.

svn path=/trunk/; revision=2108

reactos/lib/msvcrt/misc/dllmain.c

index 63244df..e23e51f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: dllmain.c,v 1.8 2001/07/12 16:28:24 ekohl Exp $
+/* $Id: dllmain.c,v 1.9 2001/07/27 23:54:05 ekohl Exp $
  * 
  * ReactOS MSVCRT.DLL Compatibility Library
  */
@@ -75,8 +75,10 @@ DllMain(PVOID hinstDll,
                                return FALSE;
 
                        _acmdln = (char *)GetCommandLineA();
-                       if( BlockEnvToEnviron() )
-                         return FALSE;
+
+                       /* FIXME: This crashes all applications */
+//                     if( BlockEnvToEnviron() )
+//                       return FALSE;
 
                        /* FIXME: more initializations... */