Re: Problem with id when mgetgroups returns no groups.
From:
Jim Meyering
Subject:
Re: Problem with id when mgetgroups returns no groups.
Date:
Fri, 04 Dec 2009 17:50:21 +0100
Eric Blake wrote:
> I'm squashing this in, since it is indeed a user-visible regression (commit
> 6a31fd8d7).
>
> diff --git i/NEWS w/NEWS
> index 9f7bf2e..41622c0 100644
> --- i/NEWS
> +++ w/NEWS
> @@ -4,6 +4,9 @@ GNU coreutils NEWS -*-
> outline -*-
>
> ** Bug fixes
>
> + id could crash on systems without supplementary group support.
> + [bug introduced in coreutils-8.1]
Good idea.
I was thinking a test would be cute, albeit linux-specific,
with a faked ENOSYS-returning getgroups function, but it's probably
not worth the trouble.