mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
Modified parse_util.cpp, parser.cpp, path.cpp to use env_get_string()
This commit is contained in:
@@ -2043,7 +2043,9 @@ static int parse_job( process_t *p,
|
||||
}
|
||||
else if(cmd[0]==L'$')
|
||||
{
|
||||
wchar_t *val = env_get( cmd+1 );
|
||||
|
||||
const wcstring val_wstr = env_get_string( cmd+1 );
|
||||
const wchar_t *val = val_wstr.empty()?NULL:val_wstr.c_str();
|
||||
if( val )
|
||||
{
|
||||
debug( 0,
|
||||
|
||||
Reference in New Issue
Block a user