Displaying 3 results from an estimated 3 matches for "5c5169e".
Did you mean:
2515169e
2016 May 18
0
[PATCH 2/2] inspect: switch to version struct for os major/minor version
...sion = src->major_version;
- dst->minor_version = src->minor_version;
- }
+ if (version_is_null (&dst->version))
+ dst->version = src->version;
if (dst->arch == NULL) {
dst->arch = src->arch;
diff --git a/src/inspect-icon.c b/src/inspect-icon.c
index 5c5169e..2f084b7 100644
--- a/src/inspect-icon.c
+++ b/src/inspect-icon.c
@@ -324,7 +324,7 @@ icon_rhel (guestfs_h *g, struct inspect_fs *fs, size_t *size_r)
{
const char *shadowman;
- if (fs->major_version <= 6)
+ if (!guestfs_int_version_ge (&fs->version, 7, 0, 0))
shadowman = &...
2016 May 17
3
[PATCH 0/2] src: introduce an helper version struct
Hi,
this adds an helper version struct, and uses it in the backends (for the
libvirt and qemu versions) and inspection code. This also moves common
code to that, so it is not repeated in many places.
This should help with the small refactoring proposed with
https://www.redhat.com/archives/libguestfs/2016-May/msg00070.html
Thanks,
Pino Toscano (2):
src: start unifying version handling
2016 May 18
3
[PATCH v2 0/2] src: introduce an helper version struct
Hi,
this adds an helper version struct, and uses it in the backends (for the
libvirt and qemu versions) and inspection code. This also moves common
code to that, so it is not repeated in many places.
This should help with the small refactoring proposed with
https://www.redhat.com/archives/libguestfs/2016-May/msg00070.html
Thanks,
Pino Toscano (2):
src: start unifying version handling