From: Eric Bollengier Date: Thu, 16 Oct 2008 12:32:55 +0000 (+0000) Subject: ebl Found a difference between CreateProcessW and CreateProcessA, X-Git-Tag: Release-3.0.0~778 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40b3d050cefa85c8a06e82682eca3615843dd31d;p=bacula%2Fbacula ebl Found a difference between CreateProcessW and CreateProcessA, so the new function is disabled. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7818 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/win32/compat/compat.cpp b/bacula/src/win32/compat/compat.cpp index 43334a83c9..7725aa27ec 100644 --- a/bacula/src/win32/compat/compat.cpp +++ b/bacula/src/win32/compat/compat.cpp @@ -1982,7 +1982,8 @@ CreateChildProcess(const char *cmdline, HANDLE in, HANDLE out, HANDLE err) free(exeFile); - if (p_CreateProcessW && p_MultiByteToWideChar) { + // New function disabled + if (false && p_CreateProcessW && p_MultiByteToWideChar) { bFuncRetn = CreateChildProcessW(comspec, cmdLine.c_str(), &piProcInfo, in, out, err); } else {