Displaying 2 results from an estimated 2 matches for "02e3288".
2019 Dec 03
0
[p2v PATCH 6/6] Remove whole-file.c
...nction g_file_get_contents() can be used
instead.)
---
Makefile.am | 3 +-
p2v.h | 3 --
whole-file.c | 94 ----------------------------------------------------
3 files changed, 1 insertion(+), 99 deletions(-)
delete mode 100644 whole-file.c
diff --git a/Makefile.am b/Makefile.am
index 02e3288..7649511 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -124,8 +124,7 @@ virt_p2v_SOURCES = \
physical-xml.c \
rtc.c \
ssh.c \
- utils.c \
- whole-file.c
+ utils.c
generated_sources = \
config.c \
diff --git a/p2v.h b/p2v.h
index adace84..a14edc5 100644
--- a/p2v.h
+++ b/p2v.h
@@ -125,9 +...
2019 Dec 03
7
[p2v PATCH 0/6] Use GLib a bit more
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