On 1/26/22 19:47, Thien-Thi Nguyen wrote:
It seems those REPLACE...(GNU|POSIX) vars are not defined
(assigned with a value) anywhere in the configure script.
Thanks for reporting that. It appears to be a recently-introduced typo.
I installed the attached.From bd8ea86f0b7b53562b52470ebac3992bbfa2e259 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Wed, 26 Jan 2022 23:00:41 -0800
Subject: [PATCH] calloc-gnu: fix misspelling in 2022-01-03 patch
Problem reported by Thien-Thi Nguyen in:
https://lists.gnu.org/r/bug-gnulib/2022-01/msg00170.html
* modules/calloc-gnu (Depends-on):
* modules/calloc-posix (Depends-on):
Fix misspelling of REPLACE_CALLOC_FOR_CALLOC_POSIX.
---
ChangeLog | 7 +++++++
modules/calloc-gnu | 2 +-
modules/calloc-posix | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f0e65522ea..1e9fa10432 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2022-01-26 Paul Eggert <egg...@cs.ucla.edu>
+ calloc-gnu: fix misspelling in 2022-01-03 patch
+ Problem reported by Thien-Thi Nguyen in:
+ https://lists.gnu.org/r/bug-gnulib/2022-01/msg00170.html
+ * modules/calloc-gnu (Depends-on):
+ * modules/calloc-posix (Depends-on):
+ Fix misspelling of REPLACE_CALLOC_FOR_CALLOC_POSIX.
+
close-stream: avoid crash on MSVC Debug mode
Problem reported by Julien Marrec in:
https://lists.gnu.org/r/bug-m4/2022-01/msg00000.html
diff --git a/modules/calloc-gnu b/modules/calloc-gnu
index 037345bad2..278df7325e 100644
--- a/modules/calloc-gnu
+++ b/modules/calloc-gnu
@@ -7,7 +7,7 @@ m4/calloc.m4
Depends-on:
calloc-posix
-xalloc-oversized [test $REPLACE_REALLOC_FOR_CALLOC_GNU = 1]
+xalloc-oversized [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1]
configure.ac:
gl_FUNC_CALLOC_GNU
diff --git a/modules/calloc-posix b/modules/calloc-posix
index 9ff6913b82..5bf5ab8676 100644
--- a/modules/calloc-posix
+++ b/modules/calloc-posix
@@ -8,7 +8,7 @@ m4/malloc.m4
Depends-on:
stdlib
-xalloc-oversized [test $REPLACE_REALLOC_FOR_CALLOC_POSIX = 1]
+xalloc-oversized [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
configure.ac:
gl_FUNC_CALLOC_POSIX
--
2.32.0