From 85a1907ad6025c0f13ed67cf06f401753e071c59 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Fri, 27 Jul 2001 23:54:05 +0000 Subject: [PATCH] Disabled a function-call that crashes all msvcrt-based apps. Further investigation will be done. svn path=/trunk/; revision=2108 --- reactos/lib/msvcrt/misc/dllmain.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reactos/lib/msvcrt/misc/dllmain.c b/reactos/lib/msvcrt/misc/dllmain.c index 63244df986e..e23e51fe4e5 100644 --- a/reactos/lib/msvcrt/misc/dllmain.c +++ b/reactos/lib/msvcrt/misc/dllmain.c @@ -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... */