[Libguestfs] [PATCH 3/3] generator: improve pod2text invocation
Eric Blake
eblake at redhat.com
Tue Aug 13 13:32:42 UTC 2019
On 8/13/19 8:04 AM, Pino Toscano wrote:
> - feed the content directly to stdin, avoid the need of read (and write)
> a temporary file
> - read all the output at once, without a tail-recurive function
recursive
> - apply trimming and first line discarding after closing the process
> ---
> generator/utils.ml | 35 ++++++++++++++++-------------------
> 1 file changed, 16 insertions(+), 19 deletions(-)
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190813/cea008cb/attachment.sig>
More information about the Libguestfs
mailing list