[PATCH] Re: getgroups() gives wrong result with nss_winbind
Jeremy Allison
jra at samba.org
Wed Sep 22 23:31:21 GMT 2004
On Thu, Sep 23, 2004 at 01:11:42AM +0200, Henrik Nordstrom wrote:
>
> Attached is an updated patch not relying on MIN().
>
> Just changed
>
> newsize = MIN(newsize, limit);
>
> to
> if (newsize > limit)
> newsize = limit;
>
> which is easy to understand both for compilers and humans.
I already added MIN, but as you're the patch author I'll do
it as you wish :-).
Thanks,
Jeremy.
More information about the samba-technical
mailing list