* modules/group-member (Depends-on): Depend on malloc-gnu,
not realloc-gnu, since the code uses malloc not realloc.
---
 ChangeLog            | 4 ++++
 modules/group-member | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8c89713ebf..93b50bde70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2024-10-23  Paul Eggert  <egg...@cs.ucla.edu>
 
+       group-member: fix malloc-gnu dependency
+       * modules/group-member (Depends-on): Depend on malloc-gnu,
+       not realloc-gnu, since the code uses malloc not realloc.
+
        realloc: still more improvements for realloc (p, 0)
        * doc/posix-functions/malloc.texi: AIX is sans _LINUX_SOURCE_COMPAT.
        * doc/posix-functions/realloc.texi:
diff --git a/modules/group-member b/modules/group-member
index d84b751c0c..a1b85c7be8 100644
--- a/modules/group-member
+++ b/modules/group-member
@@ -9,7 +9,7 @@ Depends-on:
 unistd
 extensions
 getgroups        [test $HAVE_GROUP_MEMBER = 0]
-realloc-gnu      [test $HAVE_GROUP_MEMBER = 0]
+malloc-gnu       [test $HAVE_GROUP_MEMBER = 0]
 stdckdint        [test $HAVE_GROUP_MEMBER = 0]
 
 configure.ac:
-- 
2.43.0


Reply via email to