Compared to original: - Ensure the virFindFileInPath() return an absolute path (tried to use glibcompat, failed to solve some Windows related issue) - Just remove virFileAbsPath() and use g_canonicalize_filename() instead Luke Yue (2): Replace virFileAbsPath() with g_canonicalize_filename() virfile: Simplify virFindFileInPath() with g_find_program_in_path() src/libvirt-domain.c | 16 +++++----- src/libvirt_private.syms | 1 - src/util/virfile.c | 69 ++-------------------------------------- src/util/virfile.h | 3 -- src/util/virlog.c | 2 +- 5 files changed, 12 insertions(+), 79 deletions(-) -- 2.31.1