mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fixed compilation error in expand.cpp
Fixed https://github.com/fish-shell/fish-shell/issues/401
This commit is contained in:
parent
90495f3ac5
commit
e53e00c4f9
1 changed files with 1 additions and 6 deletions
|
@ -517,12 +517,7 @@ bool process_iterator_t::next_process(wcstring *out_str, pid_t *out_pid)
|
||||||
signal_unblock();
|
signal_unblock();
|
||||||
|
|
||||||
/* The command line needs to be escaped */
|
/* The command line needs to be escaped */
|
||||||
wchar_t *first_arg = tok_first(full_command_line.c_str());
|
cmd = tok_first(full_command_line.c_str());
|
||||||
if (first_arg)
|
|
||||||
{
|
|
||||||
cmd = first_arg;
|
|
||||||
free(first_arg);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#ifdef SunOS
|
#ifdef SunOS
|
||||||
else if ((cmdfile=wfopen(path + L"/psinfo", "r")))
|
else if ((cmdfile=wfopen(path + L"/psinfo", "r")))
|
||||||
|
|
Loading…
Reference in a new issue