aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-12 04:21:11 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-12 04:21:11 +0530
commit9b56b67c0e1bbd7f043ca6d17715427ab6d40e9f (patch)
treee6006ce2940141675ffc84d0f60ee3165f7d257c /exec.cpp
parent48655e882ef02efe50e1b5a05e1b0ae653861c3d (diff)
Revert "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 e49644e1..384fa4e3 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").c_str();
+ ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS");
if( ifs && ifs[0] )
{