On Wed, Nov 02, 2011 at 04:28:54PM -0600, Eric Blake wrote:
> On 11/02/2011 04:00 PM, Guido Günther wrote:
> >>>+template = strdup("/tmp/libvirt_XX");
> >>
> >>No need to malloc() the template. Just do:
> >>
> >>char template[] = "/tmp/libvirt_XX";
> >
> >This was actually the first ve
On 11/02/2011 04:00 PM, Guido Günther wrote:
+template = strdup("/tmp/libvirt_XX");
No need to malloc() the template. Just do:
char template[] = "/tmp/libvirt_XX";
This was actually the first version I had but it didn't seem to match
libvirt's style (in the non-const form and I
On Wed, Nov 02, 2011 at 03:39:54PM -0600, Eric Blake wrote:
> On 11/02/2011 03:31 PM, Guido Günther wrote:
> >to avoid exceeding UNIX_PATH_MAX
> >---
> > tests/virnetsockettest.c | 60
> > ++---
> > 1 files changed, 40 insertions(+), 20 deletions(-)
>
>
On 11/02/2011 03:31 PM, Guido Günther wrote:
to avoid exceeding UNIX_PATH_MAX
---
tests/virnetsockettest.c | 60 ++---
1 files changed, 40 insertions(+), 20 deletions(-)
I like this better than Stefan's proposal (a temporary directory is
better than
to avoid exceeding UNIX_PATH_MAX
---
tests/virnetsockettest.c | 60 ++---
1 files changed, 40 insertions(+), 20 deletions(-)
diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c
index 6320ce0..aeb4f3f 100644
--- a/tests/virnetsockettest.c
+++