In an effort to reduce the code, start to use few bits of GLib: - replace the gnulib c-type module - replace the gnulib getprogname module - use g_spawn_sync to launch curl, and drop a file reading function
Pino Toscano (6): Include glib.h in p2v.h Use g_ascii_isspace instead of c_isspace from gnulib Use g_get_prgname instead of getprogname from gnulib build: remove no more used gnulib modules Use g_spawn_sync to launch curl Remove whole-file.c Makefile.am | 3 +- bootstrap | 2 -- conversion.c | 5 ++- cpuid.c | 4 +-- gui.c | 11 +++--- kernel-cmdline.c | 4 +-- kernel.c | 10 +++--- main.c | 11 +++--- nbd.c | 10 +++--- p2v.h | 5 ++- physical-xml.c | 6 +--- rtc.c | 13 ++++--- ssh.c | 57 ++++++++++++++--------------- whole-file.c | 94 ------------------------------------------------ 14 files changed, 58 insertions(+), 177 deletions(-) delete mode 100644 whole-file.c -- 2.21.0 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs