Re: [PATCH 1/2] daemon: convert virRun to virCommand

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

 



On 26.01.2012 01:51, Eric Blake wrote:
> Using snprintf to build up argv seems archaic.
> 
> * daemon/remote.c (remoteDispatchAuthPolkit): Modernize command call.
> ---
>  daemon/remote.c |   42 +++++++++++++++++-------------------------
>  1 files changed, 17 insertions(+), 25 deletions(-)
> 

ACK. I wonder if we should force developers to use virAsnprintf()
instead of snprintf() like we already do for malloc(), realloc(), etc.

Michal

--
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]