From: Pádraig Brady
Date: Sat, 15 May 2021 16:50:33 +0000 (+0100) Subject: realloc-gnu: avoid glibc MALLOC_CHECK_ issue X-Git-Tag: v1.0~2883 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=1a72950760b1fce763ff834de0d545caab8a983c;p=gnulib.git 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. --- 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