Re: [libvirt] [PATCH] Move virGetUserEnt() to where its needed

2013-06-17 Thread Michal Privoznik
On 16.06.2013 23:45, Doug Goldstein wrote: In the first if case, virGetUserEnt() isn't necessary so don't bother calling it before determining we need it. --- Found this trying to get libvirtd running happily on my Mac OS X machine for qemu. Unfortunately it appears virGetUserEnt() is always

[libvirt] [PATCH] Move virGetUserEnt() to where its needed

2013-06-16 Thread Doug Goldstein
In the first if case, virGetUserEnt() isn't necessary so don't bother calling it before determining we need it. --- Found this trying to get libvirtd running happily on my Mac OS X machine for qemu. Unfortunately it appears virGetUserEnt() is always failing on Mac OS X (getpwuid_r() returns 0 each