From 40b3d050cefa85c8a06e82682eca3615843dd31d Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 16 Oct 2008 12:32:55 +0000 Subject: [PATCH] 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 --- bacula/src/win32/compat/compat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.39.5