[libvirt] [PATCH] util: Properly return error from virGetUserID and virGetGroupID stubs
Ján Tomko
jtomko at redhat.com
Mon Jun 8 08:06:49 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150608/c8a7274f/attachment-0001.sig>
More information about the libvir-list
mailing list