diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:50:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-28 12:50:39 +0100 |
| commit | e7dd07c8025b169b7b43b955066a7200d9cdf244 (patch) | |
| tree | 6e8c927cfc67f3708b91ac79df07707af26e4929 /gl/reallocarray.c | |
| parent | 828a9720b10814c5836d03aa35af05d196c4104b (diff) | |
| parent | b0afb8fe0ff1d87165af9df61501197a06240dda (diff) | |
| download | monitoring-plugins-e7dd07c8025b169b7b43b955066a7200d9cdf244.tar.gz | |
Merge pull request #2213 from RincewindsHat/update/gnulib
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/reallocarray.c')
| -rw-r--r-- | gl/reallocarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/reallocarray.c b/gl/reallocarray.c index 09711a0e..77e8d84c 100644 --- a/gl/reallocarray.c +++ b/gl/reallocarray.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* reallocarray function that is glibc compatible. | 1 | /* reallocarray function that is glibc compatible. |
| 2 | 2 | ||
| 3 | Copyright (C) 2017-2024 Free Software Foundation, Inc. | 3 | Copyright (C) 2017-2025 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU Lesser General Public License as | 6 | it under the terms of the GNU Lesser General Public License as |
| @@ -33,6 +33,6 @@ reallocarray (void *ptr, size_t nmemb, size_t size) | |||
| 33 | return NULL; | 33 | return NULL; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | /* Rely on the semantics of GNU realloc. */ | 36 | /* Call realloc, setting errno to ENOMEM on failure. */ |
| 37 | return realloc (ptr, nbytes); | 37 | return realloc (ptr, nbytes); |
| 38 | } | 38 | } |
