[libvirt] [PATCHv2 3/8] Switch virCommandRunRegex to use virStringSplit

Daniel P. Berrange berrange at redhat.com
Thu Mar 20 14:54:45 UTC 2014


On Wed, Mar 19, 2014 at 04:52:28PM +0100, Ján Tomko wrote:
> Instead of running the command asynchronously and reading the output
> via fgets, let virCommand collect the output and split it with
> virStringSplit.
> ---
>  src/util/vircommand.c | 41 +++++++++++++++++++----------------------
>  1 file changed, 19 insertions(+), 22 deletions(-)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list