[Libguestfs] [PATCH] collect list of called external commands

Olaf Hering olaf at aepfle.de
Thu Aug 30 15:53:06 UTC 2012


On Thu, Aug 30, Olaf Hering wrote:

> -extern int e2prog (char *name); /* Massive hack for RHEL 5. */
> +extern int e2prog (const char *name); /* Massive hack for RHEL 5. */

> +++ b/daemon/ext2.c

> -e2prog (char *name)
> +e2prog (const char *name)
>  {
>    char *p = strstr (name, "e2");
>    if (!p) return 0;
>    p++;
> +  return 0;


The whole patch was a mechanical change.  e2prog certainly needs a
better change, if any.  Is RHEL still supposed to be handled that way,
rewriting the command name?

Olaf




More information about the Libguestfs mailing list