Paul Eggert wrote:
> * modules/ialloc (Depends-on): Remove realloc-gnu,
> as ialloc.c does not depend on GNU semantics for realloc.

But it depends on the fact that realloc() sets errno to ENOMEM
when it fails. Therefore it needs a dependency on 'realloc-posix'.


2024-10-25  Bruno Haible  <br...@clisp.org>

        ialloc: Fix dependencies.
        * modules/ialloc (Depends-on): Add realloc-posix.

diff --git a/modules/ialloc b/modules/ialloc
index c7c194e446..822d15f9d9 100644
--- a/modules/ialloc
+++ b/modules/ialloc
@@ -10,6 +10,7 @@ calloc-gnu
 extern-inline
 idx
 malloc-gnu
+realloc-posix
 reallocarray
 stdint
 




Reply via email to