Re: [PATCH] expandargv: fix check for dynamic allocation of argument vector

2018-01-10 Thread Jeff Law
On 12/30/2017 12:46 PM, Daniel van Gerpen wrote: > > > When the code interpolates the contents of response files, the > argument vector is reallocated to the new size. This only works > if it was dynamically allocated once before -- we do not want to > mess with the argv memory given to us by

[PATCH] expandargv: fix check for dynamic allocation of argument vector

2017-12-30 Thread Daniel van Gerpen
When the code interpolates the contents of response files, the argument vector is reallocated to the new size. This only works if it was dynamically allocated once before -- we do not want to mess with the argv memory given to us by the init code. The code tried to detect this with a flag, but