[libvirt] [PATCH] util: rework error reporting in virGet(User|Group)IDByName

Christophe Fergeau cfergeau at redhat.com
Wed Dec 12 16:49:05 UTC 2012


On Tue, Dec 11, 2012 at 09:30:53PM +0100, Peter Krempa wrote:
> This patch gets rid of the undeterministic error reporting code done on
> return values of get(pw|gr)nam_r. With this patch, if the group record
> is not returned by the corresponding function this error is not
> considered fatal even if errno != 0. The error is logged in such case.

Patch is already pushed, but looks good to me.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121212/30c04d6d/attachment-0001.sig>


More information about the libvir-list mailing list