[libvirt] [PATCH v2 3/5] util: file: Use more obvious logic in virFindFileInPath

Ján Tomko jtomko at redhat.com
Thu Nov 14 13:49:06 UTC 2019


On Thu, Nov 14, 2019 at 02:29:20PM +0100, Peter Krempa wrote:
>Make it more obvious that the function will return NULL if the file is
>not executable and stop reusing variables.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
>v2:
>- fixed logic to do the same as it did before
>- rewrote commit message to accomodate change
>
> src/util/virfile.c | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191114/236e7790/attachment-0001.sig>


More information about the libvir-list mailing list