]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Found a difference between CreateProcessW and CreateProcessA,
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 16 Oct 2008 12:32:55 +0000 (12:32 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 16 Oct 2008 12:32:55 +0000 (12:32 +0000)
     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

index 43334a83c9a43fb08fd207437d2ad51833e3232f..7725aa27ec44694d952260e231b62d0a821c1a89 100644 (file)
@@ -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 {