Re: [libvirt] [PATCH 1/2] utils: Return proper value for virGet{User, Group}ID

2015-06-08 Thread Martin Kletzander
On Mon, Jun 08, 2015 at 10:43:38AM +0200, Michal Privoznik wrote: These two functions are used to translate user or group name into a numerical ID. Depending on platform we are building for, we have an implementation for UNIX-like systems, and a stub implementation for Windows. While the former

[libvirt] [PATCH 1/2] utils: Return proper value for virGet{User, Group}ID

2015-06-08 Thread Michal Privoznik
These two functions are used to translate user or group name into a numerical ID. Depending on platform we are building for, we have an implementation for UNIX-like systems, and a stub implementation for Windows. While the former returns a negative value on error, the latter simply reports an

Re: [libvirt] [PATCH 1/2] utils: Return proper value for virGet{User, Group}ID

2015-06-08 Thread Peter Krempa
On Mon, Jun 08, 2015 at 10:47:05 +0200, Martin Kletzander wrote: On Mon, Jun 08, 2015 at 10:43:38AM +0200, Michal Privoznik wrote: These two functions are used to translate user or group name into a numerical ID. Depending on platform we are building for, we have an implementation for