summaryrefslogtreecommitdiffstats
path: root/gl/realloc.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-03-26 12:53:53 +0100
committerGitHub <noreply@github.com>2026-03-26 12:53:53 +0100
commit13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch)
tree3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/realloc.c
parent9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff)
downloadmonitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz
Update/gnulib 2026 03 (#2247)HEADmaster
* Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers
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. */