[Libguestfs] [PATCH] NFC: Cleanup iteration over fstab entries in inspect_fs_unix.c
Matthew Booth
mbooth at redhat.com
Fri Nov 25 13:16:11 UTC 2011
On 11/25/2011 12:55 PM, Matthew Booth wrote:
> Select non-comment labels using an augeas path to return the correct nodes in
> the first instance, rather than applying a regular expression to all results.
> Iterate over returned matches using a char** iterator.
> Use asprintf() to ensure the path string buffer is the correct size.
> ---
> src/inspect_fs_unix.c | 53 +++++++++++++++++++++++-------------------------
> 1 files changed, 25 insertions(+), 28 deletions(-)
There's a whitespace issue in this patch. Fixed in a sec.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
More information about the Libguestfs
mailing list