Make failed process expansions expand to zero arguments, not to the original string

darcs-hash:20061019154127-ac50b-86975e62d9947819862a98e7b6fff3ff630f26b7.gz
This commit is contained in:
axel 2006-10-20 01:41:27 +10:00
parent 45f1263112
commit a5868d67f5

View file

@ -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