From cd8aacf139cc35fea5a9751ec1576ebc7a3e7501 Mon Sep 17 00:00:00 2001 From: micio Date: Tue, 25 Jan 2011 08:47:18 +0000 Subject: [PATCH] Bazaar/SysExec : another ArgEnv fix git-svn-id: svn://ultimatepp.org/upp/trunk@3086 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/SysExec/SysExec.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazaar/SysExec/SysExec.cpp b/bazaar/SysExec/SysExec.cpp index 1fced6e2a..7510860d7 100644 --- a/bazaar/SysExec/SysExec.cpp +++ b/bazaar/SysExec/SysExec.cpp @@ -48,8 +48,8 @@ bool SysExec(String const &command, String const &args, const VectorMapargv = BuildArgs(GetFileName(command), args); + Bufferenvv = BuildEnv(Environ); // executes the command int result = 0; @@ -169,8 +169,8 @@ bool SysExec(String const &command, String const &args) bool SysStart(String const &command, String const &args, const VectorMap &Environ, intptr_t *pid) { // builds the arguments and the environment - char **argv = BuildArgs(GetFileName(command), args); - char **envv = BuildEnv(Environ); + Bufferargv = BuildArgs(GetFileName(command), args); + Bufferenvv = BuildEnv(Environ); // executes the command int result = 0;