[Libguestfs] [PATCH] Fix inspection code when PCRE or hivex is missing.

Jim Meyering jim at meyering.net
Thu Mar 3 14:23:16 UTC 2011


Richard W.M. Jones wrote:
> Subject: [PATCH] Fix inspection code when PCRE or hivex is missing.
>
> ---
>  src/inspect.c |   24 ++++++++++++++++++++++++
>  1 files changed, 24 insertions(+), 0 deletions(-)

ACK.  that solved my build problem.
Thanks.

> diff --git a/src/inspect.c b/src/inspect.c
> index ac2050c..4986cac 100644
> --- a/src/inspect.c
> +++ b/src/inspect.c
> @@ -2858,6 +2858,30 @@ guestfs__inspect_list_applications (guestfs_h *g, const char *root)
>    NOT_IMPL(NULL);
>  }
>
> +char *
> +guestfs__inspect_get_format (guestfs_h *g, const char *root)
> +{
> +  NOT_IMPL(NULL);
> +}
> +
> +int
> +guestfs__inspect_is_live (guestfs_h *g, const char *root)
> +{
> +  NOT_IMPL(-1);
> +}
> +
> +int
> +guestfs__inspect_is_netinst (guestfs_h *g, const char *root)
> +{
> +  NOT_IMPL(-1);
> +}
> +
> +int
> +guestfs__inspect_is_multipart (guestfs_h *g, const char *root)
> +{
> +  NOT_IMPL(-1);
> +}
> +
>  #endif /* no PCRE or hivex at compile time */
>
>  void




More information about the Libguestfs mailing list