]> xenbits.xensource.com Git - libvirt.git/commit
maint: Kill usage of atoi()
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Nov 2013 16:14:26 +0000 (17:14 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 4 Dec 2013 17:56:06 +0000 (18:56 +0100)
commitdf36af589f09e94af9d338b1cfb6136089889c4a
treef09f4bb15e3184020f32ee095b6c9c173d2cf2e6
parent5eb4b04211ea379c58f735dee6c2852c8b80da89
maint: Kill usage of atoi()

Kill the use of atoi() and introduce syntax check to forbid it and it's
friends (atol, atoll, atof, atoq).

Also fix a typo in variable name holding the cylinders count of a disk
pool (apparently unused).

examples/domsuspend/suspend.c will need a larger scale refactor as the
whole example file is broken thus it will be exempted from the syntax
check for now.
cfg.mk
src/conf/storage_conf.h
src/storage/storage_backend_disk.c
src/xen/xend_internal.c