Eric Blake wrote:
On 03/30/2010 10:20 AM, Matthias Bolte wrote:
+/**
+ * virParseVersionString:
+ * @str: const char pointer to the version string
+ * @version: unsigned long pointer to output the version number
+ *
+ * Parse an unsigned version number from a version string. Expecting
+ *
virParseVersionString uses virStrToLong_ui instead of sscanf.
This also fixes a bug in the UML driver, that always returned 0
as version number.
---
src/esx/esx_driver.c | 31 ++-
src/libvirt_private.syms |1 +
src/lxc/lxc_driver.c | 10
On 03/30/2010 10:20 AM, Matthias Bolte wrote:
+/**
+ * virParseVersionString:
+ * @str: const char pointer to the version string
+ * @version: unsigned long pointer to output the version number
+ *
+ * Parse an unsigned version number from a version string. Expecting
+ * 'major.minor.micro'