Re: [PATCH 2/2] vbox_snapshot_conf: fix wrong use of 'xmlSaveFormatFileEnc'

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

 



On 06/18/14 14:29, Pavel Hrdina wrote:
> The function 'xmlSaveFormatFileEnc' has a last option to set
> if you want to format dumped xml with whitespaces or not.
> 
> Older libxml2, the one used in RHEL6, take this option as it is
> but newer libxml2 check this option if it's true or not. This
> small difference somehow makes things messy on RHEL6 and generated
> xml had extra new line and extra whitespaces.
> 
> We should pass 1 instead if -1 because the -1 confuses the libxml2.
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  src/vbox/vbox_snapshot_conf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

ACK,

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
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]