[libvirt] [PATCH] virFileHasSuffix case sensitivity

2010-04-29 Thread Paul Dorman
uffixlen) return 0; -return STREQ(str + len - suffixlen, suffix); +return STRCASEEQ(str + len - suffixlen, suffix); } # define SAME_INODE(Stat_buf_1, Stat_buf_2) \ Regards, Paul On Thu, Apr 29, 2010 at 3:43 PM, Eric Blake wrote: > On 04/28/2010 09:24 PM, Paul Dorman wrote:

[libvirt] virFileHasSuffix case sensitivity

2010-04-28 Thread Paul Dorman
Hi all, virFileHasSuffix fails on esx IDE fileName VMX entries that aren't lower case, e.g. '.ISO'. Unless there's a good reason, can the comparison be done with STRCASEEQ instead of STREQ? Kind regards, Paul -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listin

Re: [libvirt] [PATCH] esx: Make the conf parser compare names case insensitive in VMX mode

2010-03-25 Thread Paul Dorman
nged, 165 insertions(+), 1 deletions(-) > >> create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx > >> create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-1.xml > >> create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx >