[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]