Displaying 4 results from an estimated 4 matches for "have_libmag".
Did you mean:
have_libcap
2017 Feb 27
1
[PATCH] lib: Require libmagic.
...This is the library used by the L<file(1)> command.
=item libvirt E<ge> 0.10.2
diff --git a/lib/filearch.c b/lib/filearch.c
index 2c75425..e1d3dae 100644
--- a/lib/filearch.c
+++ b/lib/filearch.c
@@ -27,9 +27,7 @@
#include <sys/wait.h>
#include <libintl.h>
-#ifdef HAVE_LIBMAGIC
#include <magic.h>
-#endif
#include "ignore-value.h"
@@ -37,8 +35,6 @@
#include "guestfs-internal.h"
#include "guestfs-internal-actions.h"
-#if defined(HAVE_LIBMAGIC)
-
# ifdef HAVE_ATTRIBUTE_CLEANUP
# define CLEANUP_MAGIC_T_FREE __attribute__((clea...
2015 Sep 29
0
[PATCH 4/4] lib: Remove unused header files.
...ch.c
@@ -20,7 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <stdint.h>
#include <inttypes.h>
#include <unistd.h>
#include <string.h>
@@ -28,8 +27,6 @@
#include <sys/wait.h>
#include <libintl.h>
-#include <pcre.h>
-
#ifdef HAVE_LIBMAGIC
#include <magic.h>
#endif
@@ -39,7 +36,6 @@
#include "guestfs.h"
#include "guestfs-internal.h"
#include "guestfs-internal-actions.h"
-#include "guestfs_protocol.h"
#if defined(HAVE_LIBMAGIC)
diff --git a/src/fuse.c b/src/fuse.c
index 9fb84ae...
2015 Sep 29
8
[PATCH 1/4] lib: actions: Remove some unused header files.
---
generator/c.ml | 2 --
1 file changed, 2 deletions(-)
diff --git a/generator/c.ml b/generator/c.ml
index 055b683..963cf21 100644
--- a/generator/c.ml
+++ b/generator/c.ml
@@ -1213,9 +1213,7 @@ and generate_client_actions hash () =
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings:
Patches 1-12 split configure.ac into smaller files using the
m4_include mechanism.
Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into
three new manual pages:
guestfs-hacking(3) - how to extend and contribute to libguestfs
guestfs-internals(3) - architecture and internals
guestfs-security(3) - security and CVEs
Patch 16 is a