[Libguestfs] [PATCH] Fix prototype of commandv to match prototype of commandrv.

Jim Meyering jim at meyering.net
Mon Nov 9 11:31:44 UTC 2009


Richard W.M. Jones wrote:
> Small const-correctness patch/tidy-up.
...
> Subject: [PATCH] Fix prototype of commandv to match prototype of commandrv.
>
> ---
>  daemon/blockdev.c |    2 +-
>  daemon/command.c  |    2 +-
>  daemon/daemon.h   |    2 +-
>  daemon/guestfsd.c |    5 +++--
>  daemon/lvm.c      |    4 ++--

Always worthwhile, imho ;-)
doubly-const char **argv is particularly painful.
Shame we need the casts in C.




More information about the Libguestfs mailing list