Modified expand.cpp and exec.cpp to use env_get_string()

This commit is contained in:
Siteshwar Vashisht
2012-01-12 04:19:04 +05:30
parent 7f49d37a51
commit 48655e882e
2 changed files with 7 additions and 5 deletions

View File

@@ -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] )
{