Re: [libvirt] [PATCH] cygwin: fix abort of virsh on my system

Chris Lalancette <clalance@redhat.com> wrote on 05/06/2010 02:28:18 PM:
On 05/06/2010 02:11 PM, Stefan Berger wrote:
This strange patch fixes aborts of virsh on my system. It seems that
Stefan Berger/Watson/IBM wrote on 05/06/2010 02:55:31 PM: the
string returned by xmlSaveUri is owned by the xml library??
[...]
So something else might be going on. What version of libxml2 are you currently building against?
Cygwin picks up what I have installed in /cydrive/c/GTK/ and there I have version 2.6.32.
xmlversion.h:#define LIBXML_DOTTED_VERSION "2.6.32"
The abort occurs upon the VIR_FREE(name).
That was also the problem. Since the includes weren't missing I didn't have cygwin's libvirt-devel package installed and so it took the wrong includes... Stefan
participants (1)
-
Stefan Berger