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

2015-06-08 Thread Peter Krempa
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

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

2015-06-08 Thread Ján Tomko
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