summaryrefslogtreecommitdiffstats
path: root/gl/realloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/realloc.c')
-rw-r--r--gl/realloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/realloc.c b/gl/realloc.c
index 04a28561..9b35c235 100644
--- a/gl/realloc.c
+++ b/gl/realloc.c
@@ -1,6 +1,6 @@
1/* realloc() function that is glibc compatible. 1/* realloc() function that is glibc compatible.
2 2
3 Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2025 Free Software 3 Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2026 Free Software
4 Foundation, Inc. 4 Foundation, Inc.
5 5
6 This file is free software: you can redistribute it and/or modify 6 This file is free software: you can redistribute it and/or modify
@@ -20,9 +20,9 @@
20 20
21/* Ensure that we call the system's realloc() below. */ 21/* Ensure that we call the system's realloc() below. */
22#define _GL_USE_STDLIB_ALLOC 1 22#define _GL_USE_STDLIB_ALLOC 1
23#include <config.h>
24 23
25#define _GL_REALLOC_INLINE _GL_EXTERN_INLINE 24#define _GL_REALLOC_INLINE _GL_EXTERN_INLINE
25#include <config.h>
26#include <stdlib.h> 26#include <stdlib.h>
27 27
28#include <errno.h> 28#include <errno.h>
@@ -50,7 +50,7 @@ rpl_realloc (void *p, size_t n)
50 undefined behavior even though C17 and earlier partially defined 50 undefined behavior even though C17 and earlier partially defined
51 the behavior. Let the programmer know. 51 the behavior. Let the programmer know.
52 When the undefined-behaviour sanitizers report this case, i.e. when 52 When the undefined-behaviour sanitizers report this case, i.e. when
53 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117233> and 53 <https://gcc.gnu.org/PR117233> and
54 <https://github.com/llvm/llvm-project/issues/113065> 54 <https://github.com/llvm/llvm-project/issues/113065>
55 have been closed and new releases of GCC and clang have been made, 55 have been closed and new releases of GCC and clang have been made,
56 we can revisit this code. */ 56 we can revisit this code. */