Re: [Spice-devel] [PATCH vd_agent_linux v2 4/7] vdagent: Fix restarting agent

2019-01-04 Thread Frediano Ziglio
> > On Fri, Jan 04, 2019 at 08:37:02AM +, Frediano Ziglio wrote: > > We need to pass original argument list, however argv is modified by > > "the original argument list.." > > > g_option_context_parse so save a copy of the array to make possible > > to restart with the same arguments. > >

Re: [Spice-devel] [PATCH vd_agent_linux v2 4/7] vdagent: Fix restarting agent

2019-01-04 Thread Christophe Fergeau
On Fri, Jan 04, 2019 at 08:37:02AM +, Frediano Ziglio wrote: > We need to pass original argument list, however argv is modified by "the original argument list.." > g_option_context_parse so save a copy of the array to make possible > to restart with the same arguments. "to make it possible"

[Spice-devel] [PATCH vd_agent_linux v2 4/7] vdagent: Fix restarting agent

2019-01-04 Thread Frediano Ziglio
We need to pass original argument list, however argv is modified by g_option_context_parse so save a copy of the array to make possible to restart with the same arguments. Signed-off-by: Frediano Ziglio --- src/vdagent/vdagent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff