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

This reverts commit 48655e882e.
This commit is contained in:
Siteshwar Vashisht
2012-01-12 04:21:11 +05:30
parent 48655e882e
commit 9b56b67c0e
2 changed files with 5 additions and 7 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").c_str();
ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS");
if( ifs && ifs[0] )
{