Re: [PATCH] util: Properly return error from virGetUserID and virGetGroupID stubs

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

 



On Mon, Jun 08, 2015 at 09:35:44AM +0200, Peter Krempa wrote:
> The stubs for the two functions that are compiled on platforms that
> don't have HAVE_GETPWUID_R and friends defined do not return error but
> report an error message. The calling code then assumes that the @uid or
> @gid arguments were filled, which is not the case in the stubs.
> ---
> 
> This should fix the mingw build that complains that @theuid in one of the
> callers is not initialized.
> 
>  src/util/virutil.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK

Jan

Attachment: signature.asc
Description: Digital signature

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