mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Make failed process expansions expand to zero arguments, not to the original string
darcs-hash:20061019154127-ac50b-86975e62d9947819862a98e7b6fff3ff630f26b7.gz
This commit is contained in:
parent
45f1263112
commit
a5868d67f5
1 changed files with 2 additions and 2 deletions
4
expand.c
4
expand.c
|
@ -655,8 +655,8 @@ static int expand_pid( wchar_t *in,
|
|||
free( in );
|
||||
else
|
||||
{
|
||||
*in = L'%';
|
||||
al_push( out, in );
|
||||
free(in);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue