From 41db73df3f47be5cbeed4c86c95ce4fb147ee363 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 27 Jul 2020 17:21:51 -0700 Subject: [PATCH] =?utf8?q?xalloc-die:=20don=E2=80=99t=20depend=20on=20xall?= =?utf8?q?oc?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This removes a circular dependency, as xalloc depends on xalloc-die. * modules/xalloc-die (Files): Add lib/xalloc.h. (Depends-on): Remove xalloc. Add extern-inline, stdint, xalloc-oversized (this is for xalloc.h). --- ChangeLog | 6 ++++++ modules/xalloc-die | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d3297232fd..1b3f49aa25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2020-07-27 Paul Eggert + xalloc-die: don’t depend on xalloc + This removes a circular dependency, as xalloc depends on xalloc-die. + * modules/xalloc-die (Files): Add lib/xalloc.h. + (Depends-on): Remove xalloc. + Add extern-inline, stdint, xalloc-oversized (this is for xalloc.h). + dfa-tests: port to MSVC Problem reported by Gisle Vanem in: https://lists.gnu.org/r/bug-gnulib/2020-07/msg00159.html diff --git a/modules/xalloc-die b/modules/xalloc-die index b9f875c486..23ade89e70 100644 --- a/modules/xalloc-die +++ b/modules/xalloc-die @@ -2,13 +2,16 @@ Description: Report a memory allocation failure and exit. Files: +lib/xalloc.h lib/xalloc-die.c Depends-on: -xalloc error +extern-inline gettext-h exitfail +stdint +xalloc-oversized configure.ac: -- 2.39.5