[PATCH] glibcompat: Provide proper override for 'g_hash_table_steal_extended'

Ján Tomko jtomko at redhat.com
Mon May 30 12:02:51 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>We've emulated the function in virHashSteal, with a note pointing to use
>the proper version. Move the code to glibcomapt.c and make it such that
>builds using newer glib already use the new function.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/glibcompat.c | 20 ++++++++++++++++++++
> src/util/glibcompat.h |  8 ++++++++
> src/util/virhash.c    | 11 +++--------
> 3 files changed, 31 insertions(+), 8 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220530/ae8aef66/attachment.sig>


More information about the libvir-list mailing list