aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-12 04:19:04 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-12 04:19:04 +0530
commit48655e882ef02efe50e1b5a05e1b0ae653861c3d (patch)
tree177904abaf9f154c46651bf3bf6d5e940572bb7d /exec.cpp
parent7f49d37a5176b11ca6d5f7b40b4405000d4e3c3f (diff)
Modified expand.cpp and exec.cpp to use env_get_string()
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index 384fa4e3..e49644e1 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -1740,7 +1740,7 @@ int exec_subshell( const wchar_t *cmd,
CHECK( cmd, -1 );
- ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS");
+ ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS").c_str();
if( ifs && ifs[0] )
{