aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-12 21:39:00 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-12 21:39:00 +0530
commitee687ee433c30ad5f6f02229f4bccc078d60ad57 (patch)
tree53694792337ca647de89e8939ca5a5c6e3ee5c38 /exec.cpp
parent9b56b67c0e1bbd7f043ca6d17715427ab6d40e9f (diff)
Modified exec.cpp to use env_get_string(); rolled back changes to expand.cpp in last commit, because pressing ^D results into an error with the changes
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec.cpp b/exec.cpp
index 384fa4e3..bd08f1d4 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -1739,8 +1739,8 @@ int exec_subshell( const wchar_t *cmd,
char sep=0;
CHECK( cmd, -1 );
-
- ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS");
+// ifs = env_get(L"IFS");
+ ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS").c_str();
if( ifs && ifs[0] )
{