Displaying 5 results from an estimated 5 matches for "b77ff96b3".
2017 Feb 14
2
Re: [PATCH v3 04/10] lib/osinfo.c: Extract xml processing into a callback
...ommit extracts the XML processing for the distro ISOs and places it
> into a newly created callback.
>
> This will later help other code to traverse the osinfo DB files and
> let them extract what they need from them.
> diff --git a/lib/osinfo.c b/lib/osinfo.c
> index ea2a7659a..b77ff96b3 100644
> --- a/lib/osinfo.c
> +++ b/lib/osinfo.c
> @@ -43,6 +43,7 @@
> *
> * XXX Currently the database is not freed when the program exits /
> * library is unloaded, although we should probably do that.
> + *
> */
An extra line has been added to this comment.
>...
2017 Feb 14
0
Re: [PATCH v3 04/10] lib/osinfo.c: Extract xml processing into a callback
...sing for the distro ISOs and places it
> > into a newly created callback.
> >
> > This will later help other code to traverse the osinfo DB files and
> > let them extract what they need from them.
> > diff --git a/lib/osinfo.c b/lib/osinfo.c
> > index ea2a7659a..b77ff96b3 100644
> > --- a/lib/osinfo.c
> > +++ b/lib/osinfo.c
> > @@ -43,6 +43,7 @@
> > *
> > * XXX Currently the database is not freed when the program exits /
> > * library is unloaded, although we should probably do that.
> > + *
> > */
>
> A...
2017 Feb 10
0
[PATCH v3 04/10] lib/osinfo.c: Extract xml processing into a callback
...will later help other code to traverse the osinfo DB files and
let them extract what they need from them.
---
lib/osinfo.c | 111 ++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 71 insertions(+), 40 deletions(-)
diff --git a/lib/osinfo.c b/lib/osinfo.c
index ea2a7659a..b77ff96b3 100644
--- a/lib/osinfo.c
+++ b/lib/osinfo.c
@@ -43,6 +43,7 @@
*
* XXX Currently the database is not freed when the program exits /
* library is unloaded, although we should probably do that.
+ *
*/
#include <config.h>
@@ -52,6 +53,7 @@
#include <string.h>
#include <unis...
2017 Feb 10
0
[PATCH v3 05/10] lib: extract osinfo DB traversing API
...system_id);
+ if (osinfo->re_volume_id)
+ pcre_free (osinfo->re_volume_id);
+ if (osinfo->re_publisher_id)
+ pcre_free (osinfo->re_publisher_id);
+ if (osinfo->re_application_id)
+ pcre_free (osinfo->re_application_id);
+}
diff --git a/lib/osinfo.c b/lib/osinfo.c
index b77ff96b3..131616129 100644
--- a/lib/osinfo.c
+++ b/lib/osinfo.c
@@ -29,21 +29,6 @@
* safe(-ish) since the media identifiers always change for every
* release of an OS. We can easily add support for this if it becomes
* necessary.
- *
- * (3) We have to do some translation of the distro names and ver...
2017 Feb 10
15
[PATCH v3 00/10] Introducing virt-builder-repository
Hi guys,
Here is a v3 of the series, including changes to answer Richard's
comments.
Cédric Bosdonnat (10):
mllib: factorize code to add Checksum.get_checksum function
Move xml and xpath_helpers OCAML code to mllib
mllib: add Xml.parse_file helper
lib/osinfo.c: Extract xml processing into a callback
lib: extract osinfo DB traversing API
mllib: ocaml wrapper for lib/osinfo