On 07/05/2011 01:38 PM, Charles Wilson wrote:
> img_info_cmp: what if a or b is NULL? do we care?  Ditto for a->name,
> b->name -- POSIX doesn't mandate the behavior of strcmp if args are null...
> 
> Also, what encoding do we end up with (on cygwin)? does that affect the
> use of strcmp() to compare names?

strcmp is immune to locale effects (only strcoll cares about locale,
with the two functions being equal in the C locale).

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to