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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]