mgetgroups: remove dependency on realloc-gnu
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Oct 2013 06:08:42 +0000 (23:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Oct 2013 06:09:02 +0000 (23:09 -0700)
commit533101a268dc5015a140ff4695d8eeb04fbe57b6
tree8f4e58b01a9fe30da658849328031906053f9c53
parentd94bcb85e2e486d9ae424721cd8a6fd60553e6f6
mgetgroups: remove dependency on realloc-gnu

The dependency violates the comment in realloc-gnu, which
says that tests can't depend on realloc-gnu; some tests depend
on mgetgroups, so mgetgroups can't depend on realloc-gnu.
Problem reported by Daniel Richard G. in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00056.html>.
* lib/mgetgroups.c (mgetgroups): Don't call realloc (NULL, 0).
* modules/mgetgroups (Depends-on): Depend on realloc-posix,
not realloc-gnu.
ChangeLog
lib/mgetgroups.c
modules/mgetgroups