Displaying 2 results from an estimated 2 matches for "0caacfa".
Did you mean:
0c9acff
2016 Jul 25
1
[PATCH] osinfo: parse also single-digit version numbers
...lid version
number, to discard quickly version strings like "unknown".
This makes sure that Debian, Fedora, Mageia, and SLED ISOs have the
right version number.
---
src/osinfo.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/osinfo.c b/src/osinfo.c
index 0caacfa..907580e 100644
--- a/src/osinfo.c
+++ b/src/osinfo.c
@@ -62,6 +62,7 @@
#include "ignore-value.h"
#include "glthread/lock.h"
+#include "c-ctype.h"
#include "guestfs.h"
#include "guestfs-internal.h"
@@ -548,9 +549,12 @@ parse_version (guestfs...
2016 Jul 25
2
[PATCH] osinfo: revamp db reading (RHBZ#1359652)
...n to the old flat layout.
[1] https://gitlab.com/libosinfo/libosinfo/blob/master/docs/database-layout.txt
---
src/osinfo.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 140 insertions(+), 28 deletions(-)
diff --git a/src/osinfo.c b/src/osinfo.c
index f4e2c71..0caacfa 100644
--- a/src/osinfo.c
+++ b/src/osinfo.c
@@ -55,6 +55,7 @@
#include <assert.h>
#include <sys/types.h>
#include <libintl.h>
+#include <sys/stat.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
@@ -148,36 +149,109 @@ guestfs_int_osinfo_map (guestf...