Re: [PATCH] getugroups: Add _GL_ATTRIBUTE_NONNULL_IF_NONZERO for grouplist

Paul Eggert <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2026-08-21 07:57, Rx wrote:
> -                if (grouplist && grouplist[n] == grp->gr_gid)
> +                if (maxcount && grouplist[n] == grp->gr_gid)

That change isn't needed for correctness, though, right? And the "-" line looks a bit more efficient it's likely to need fewer registers. So we should be good as-is.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.