diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-12 21:39:00 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-12 21:39:00 +0530 |
commit | ee687ee433c30ad5f6f02229f4bccc078d60ad57 (patch) | |
tree | 53694792337ca647de89e8939ca5a5c6e3ee5c38 /exec.cpp | |
parent | 9b56b67c0e1bbd7f043ca6d17715427ab6d40e9f (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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] ) { |