Re: [lxc-devel] [PATCH 1/1] resolve lxcpath and rcfile arguments

2013-11-05 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): On Mon, Nov 04, 2013 at 02:44:44PM -0600, Serge Hallyn wrote: So we don't always have to give full paths. realpath(x,NULL) mallocs memory, but these paths shouldn't get called from the API so not freeing should be ok. What's the reason

[lxc-devel] [PATCH 1/1] resolve lxcpath and rcfile arguments

2013-11-04 Thread Serge Hallyn
So we don't always have to give full paths. realpath(x,NULL) mallocs memory, but these paths shouldn't get called from the API so not freeing should be ok. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- src/lxc/arguments.c | 9 - src/lxc/lxc_execute.c | 10 +++---

Re: [lxc-devel] [PATCH 1/1] resolve lxcpath and rcfile arguments

2013-11-04 Thread Stéphane Graber
On Mon, Nov 04, 2013 at 02:44:44PM -0600, Serge Hallyn wrote: So we don't always have to give full paths. realpath(x,NULL) mallocs memory, but these paths shouldn't get called from the API so not freeing should be ok. What's the reason behind this change? Am I reading this right that this