From 2347a65fe0b27d947d712e1f4428e26dab0331c6 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Sun, 30 Jun 2019 01:17:13 +0800 Subject: [PATCH] Clarify the comment about Linux distributions Red Hat Linux was discontinued by Red Hat in 2003. It would make sense to address glibc-based Linux distributions rather than Red Hat Linux. Reference: https://en.wikipedia.org/wiki/Red_Hat_Linux --- src/alloc-override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alloc-override.c b/src/alloc-override.c index e06a3e6e..cbfbb8b3 100644 --- a/src/alloc-override.c +++ b/src/alloc-override.c @@ -168,7 +168,7 @@ void* reallocarray( void* p, size_t count, size_t size ) { // BSD } #if defined(__GLIBC__) && defined(__linux__) - // forward __libc interface (needed for redhat linux) + // forward __libc interface (needed for glibc-based Linux distributions) void* __libc_malloc(size_t size) MI_FORWARD1(mi_malloc,size) void* __libc_calloc(size_t count, size_t size) MI_FORWARD2(mi_calloc,count,size) void* __libc_realloc(void* p, size_t size) MI_FORWARD2(mi_realloc,p,size)