From 1a72950760b1fce763ff834de0d545caab8a983c Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sat, 15 May 2021 17:50:33 +0100 Subject: [PATCH] realloc-gnu: avoid glibc MALLOC_CHECK_ issue * tests/test-realloc-gnu.c (main): if MALLOC_CHECK_ env var is set then don't check ENOMEM is returned from realloc(). See https://sourceware.org/bugzilla/show_bug.cgi?id=27870 Note it doesn't suffice to unsetenv() this var within the program, as the hooks have already been set up at that stage. --- ChangeLog | 9 +++++++++ tests/test-realloc-gnu.c | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b802233cf8..30663cb380 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2021-05-15 Pádraig Brady
+
+ realloc-gnu: avoid glibc MALLOC_CHECK_ issue
+ * tests/test-realloc-gnu.c (main): if MALLOC_CHECK_ env var
+ is set then don't check ENOMEM is returned from realloc().
+ See https://sourceware.org/bugzilla/show_bug.cgi?id=27870
+ Note it doesn't suffice to unsetenv() this var within the program,
+ as the hooks have already been set up at that stage.
+
2021-05-14 Paul Eggert