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

Re: [libvirt] [PATCHv2 1/8] util: add virVasprintf



On Tue, Nov 23, 2010 at 04:49:54PM -0700, Eric Blake wrote:
> * src/util/util.h (virVasprintf): New declaration.
> * src/util/util.c (virVasprintf): New function.
> (virAsprintf): Use it.
> * src/util/virtaudit.c (virAuditSend): Likewise.
> * src/libvirt_private.syms: Export it.
> * cfg.mk (sc_prohibit_asprintf): Also prohibit vasprintf.
> * .x-sc_prohibit_asprintf: Add exemption.
> ---
> 
> v2: new patch; makes virCommandAddArgFormat possible in later patch
> 
>  .x-sc_prohibit_asprintf  |    4 +++-
>  cfg.mk                   |    2 +-
>  src/libvirt_private.syms |    1 +
>  src/util/util.c          |   21 +++++++++++++++++----
>  src/util/util.h          |    6 +++++-
>  src/util/virtaudit.c     |    2 +-
>  6 files changed, 28 insertions(+), 8 deletions(-)

ACK, this is useful in a few other existing places too.

Daniel


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