On Thu, Aug 18, 2011 at 3:36 PM, Tim van der Molen wrote:
> When run without root privileges, getpwent(), getpwnam() and friends
> always set errno, even if they succeed. Because of this, it is
> impossible to distinguish between true errors (for which errno should be
> set) and conditions like "e
Resending.
On Fri, 19 Aug 2011 00:36:51 +0200, Tim van der Molen wrote:
> When run without root privileges, getpwent(), getpwnam() and friends
> always set errno, even if they succeed. Because of this, it is
> impossible to distinguish between true errors (for which errno should be
> set) and cond
When run without root privileges, getpwent(), getpwnam() and friends
always set errno, even if they succeed. Because of this, it is
impossible to distinguish between true errors (for which errno should be
set) and conditions like "end of database" and "no such user" (for which
errno should not be s