Hi Eric,<div><br></div><div>sure. Here you go. Please let me know if there's anything else I need to do.</div><div><br></div><div><div>diff --git a/src/util/util.c b/src/util/util.c</div><div>index a7bb67c..3209185 100644</div>
<div>--- a/src/util/util.c</div><div>+++ b/src/util/util.c</div><div>@@ -1153,7 +1153,7 @@ int virFileHasSuffix(const char *str,</div><div>     if (len < suffixlen)</div><div>         return 0;</div><div> </div><div>-    return STREQ(str + len - suffixlen, suffix);</div>
<div>+    return STRCASEEQ(str + len - suffixlen, suffix);</div><div> }</div><div> </div><div> # define SAME_INODE(Stat_buf_1, Stat_buf_2) \</div></div><div><br></div><div><br></div><div>Regards,</div><div>Paul<br><br><div class="gmail_quote">
On Thu, Apr 29, 2010 at 3:43 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 04/28/2010 09:24 PM, Paul Dorman wrote:<br>
> Hi all,<br>
><br>
> virFileHasSuffix fails on esx IDE fileName VMX entries that aren't lower<br>
> case, e.g. '.ISO'. Unless there's a good reason, can the comparison be done<br>
> with STRCASEEQ instead of STREQ?<br>
<br>
</div></div>Seems reasonable to me.  It would help if you could write a patch for<br>
that, but if not, I can probably get around to figuring out the<br>
appropriate patch based on your description.<br>
<font color="#888888"><br>
--<br>
Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    +1-801-349-2682<br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></blockquote></div><br></div>