]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Refactor major.minor.micro version parsing into a function
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 30 Mar 2010 14:15:13 +0000 (16:15 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 1 Apr 2010 10:53:41 +0000 (12:53 +0200)
commit56bac4a2215dbadddee3fbbbb6bdb16e11e41115
tree1dce1fd7aeef6bcc4430215bb043f509ab2506fb
parentea54570efbcec97addcc6f979c23ae5f335dd889
Refactor major.minor.micro version parsing into a function

virParseVersionString uses virStrToLong_ui instead of sscanf.

This also fixes a bug in the UML driver, that always returned 0
as version number.

Introduce STRSKIP to check if a string has a certain prefix and
to skip this prefix.
src/esx/esx_driver.c
src/internal.h
src/libvirt_private.syms
src/lxc/lxc_driver.c
src/openvz/openvz_conf.c
src/uml/uml_conf.h
src/uml/uml_driver.c
src/util/util.c
src/util/util.h
src/vbox/vbox_tmpl.c
src/xenapi/xenapi_driver.c