aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2023-12-20 14:53:02 +0100
committerCédric Le Goater <clg@redhat.com>2024-01-05 21:25:20 +0100
commit213ae3ffda463c0503e39e0cf827511b5298c314 (patch)
tree11497c64b71db5adae1b093ff77cfa0a7c8957d7 /scripts/qapi/parser.py
parentc1139fa4feba8c320e4bd0a4e34af55caa5ffbb9 (diff)
downloadqemu-213ae3ffda463c0503e39e0cf827511b5298c314.zip
qemu-213ae3ffda463c0503e39e0cf827511b5298c314.tar.gz
qemu-213ae3ffda463c0503e39e0cf827511b5298c314.tar.bz2
vfio/container: Replace basename with g_path_get_basename
g_path_get_basename() is a portable utility function that has the advantage of not modifing the string argument. It also fixes a compile breakage with the Musl C library reported in [1]. [1] https://lore.kernel.org/all/20231212010228.2701544-1-raj.khem@gmail.com/ Reported-by: Khem Raj <raj.khem@gmail.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions