[libvirt] [PATCH] Add --downtime option to virsh migrate command

Eric Blake eblake at redhat.com
Thu Mar 18 14:35:18 UTC 2010


On 03/18/2010 05:17 AM, Jiri Denemark wrote:
>>> +        res = strtod(arg->data, &end_p);
>>
>> Should we be using the gnulib strtod module here?
> 
> Why? It doesn't seem to be any better than C89 strtod. Or did I miss anything?

strtod is broken on a number of platforms in various ways; most of them
related to parsing the new formats required by C99, but there are some
other bugs even with C89 parsing as well:

http://git.sv.gnu.org/cgit/gnulib.git/tree/doc/posix-functions/strtod.texi

-- 
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/20100318/5aab9d5b/attachment-0001.sig>


More information about the libvir-list mailing list