On Fri, Feb 22, 2008 at 9:04 AM, Jim Meyering <[EMAIL PROTECTED]> wrote:
> + while (1) > + { > + GETGROUPS_T *h; > + ng = getgrouplist (username, gid, g, &max_n_groups); > + if (0 <= ng) > + { > + *groups = g; > + return ng; > + } > + > + /* When getgrouplist fails, it guarantees that > + max_n_groups reflects the new number of groups. */ > + > + h = realloc (g, max_n_groups * sizeof *h); Shouldn't realloc here be xnrealloc? James. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils