[libvirt] [PATCHv2 05/10] vbox: Replace atoi with virStrToLong_i

Eric Blake eblake at redhat.com
Wed Mar 31 22:32:25 UTC 2010


On 03/31/2010 03:41 PM, Matthias Bolte wrote:
> Parsing is stricter now and doesn't accept trailing characters
> after the actual value or non-number strings anymore. atoi just
> returns 0 in case it cannot parse a number from the given string.
> Now an error is reported for such a string.

ACK.

-- 
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: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100331/fbf15d15/attachment-0001.sig>


More information about the libvir-list mailing list