[libvirt] virFileHasSuffix case sensitivity

Eric Blake eblake at redhat.com
Thu Apr 29 03:43:53 UTC 2010


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?

Seems reasonable to me.  It would help if you could write a patch for
that, but if not, I can probably get around to figuring out the
appropriate patch based on your description.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100428/4fb39236/attachment-0001.sig>


More information about the libvir-list mailing list