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