On 04/19/2010 06:14 AM, Paolo Bonzini wrote:
> +  /* A valid UTF-8 character is
> +
> +          ([0x00-0x7f]
> +           |[0xc2-0xdf][0x80-0xbf]
> +           |[0xe0-0xef[0x80-0xbf][0x80-0xbf]
> +           |[0xf0-f7][0x80-0xbf][0x80-0xbf][0x80-0xbf])

Yes, but in POSIX XBD 9.3.4,
http://www.opengroup.org/onlinepubs/9699919799/toc.htm, the ANYCHAR does
not match NUL.  Do you need to adjust this patch to exclude 0x00?

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to