[PATCH v2 0/2] Replace some libvirt handling function with GLib APIs

Luke Yue posted 2 patches 2 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210607061048.124496-1-lukedyue@gmail.com
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(-)
[PATCH v2 0/2] Replace some libvirt handling function with GLib APIs
Posted by Luke Yue 2 years, 10 months ago
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