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/strerror-override.c | |
| parent | 828a9720b10814c5836d03aa35af05d196c4104b (diff) | |
| parent | b0afb8fe0ff1d87165af9df61501197a06240dda (diff) | |
| download | monitoring-plugins-e7dd07c8.tar.gz | |
Merge pull request #2213 from RincewindsHat/update/gnulib
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/strerror-override.c')
| -rw-r--r-- | gl/strerror-override.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/strerror-override.c b/gl/strerror-override.c index b9c1c7ab..3cc25905 100644 --- a/gl/strerror-override.c +++ b/gl/strerror-override.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* strerror-override.c --- POSIX compatible system error routine | 1 | /* strerror-override.c --- POSIX compatible system error routine |
| 2 | 2 | ||
| 3 | Copyright (C) 2010-2024 Free Software Foundation, Inc. | 3 | Copyright (C) 2010-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 |
| @@ -298,6 +298,11 @@ strerror_override (int errnum) | |||
| 298 | return "Invalid or incomplete multibyte or wide character"; | 298 | return "Invalid or incomplete multibyte or wide character"; |
| 299 | # endif | 299 | # endif |
| 300 | 300 | ||
| 301 | # if GNULIB_defined_ESOCKTNOSUPPORT | ||
| 302 | case ESOCKTNOSUPPORT: | ||
| 303 | return "Socket type not supported"; | ||
| 304 | # endif | ||
| 305 | |||
| 301 | default: | 306 | default: |
| 302 | return NULL; | 307 | return NULL; |
| 303 | } | 308 | } |
