Re: [libvirt] [PATCH] fix some XPath relative node resets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 28, 2009 at 06:42:14PM -0400, Laine Stump wrote:
> On 09/28/2009 06:39 PM, Laine Stump wrote:
>> On 09/28/2009 11:30 AM, Daniel Veillard wrote:
>>>   The virXPath... function take extra care to preserve the XPath context
>>> node (ctxt->node) but in the case of virXPathString and virXPathBoolean
>>> they forgot to do this on the error path. This patch fixes this and
>>> move all ctxt->node = relnode instuctions just after the xmlXPathEval()
>>> to make sure this doesn't happen if this code is modified.
>>
>> ACK to this. The failure I encountered was due to a similar problem  
>> somewhere else (patch upcoming), but these are definitely correcting a  
>> problem.
>
>
> I take that back - one of my two problems *was* fixed by this patch ;-)

  Okay, commited, thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]