summaryrefslogtreecommitdiffstats
path: root/gl/wcrtomb.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/wcrtomb.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/wcrtomb.c')
-rw-r--r--gl/wcrtomb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/wcrtomb.c b/gl/wcrtomb.c
index c9ebcf0c..a9b8de78 100644
--- a/gl/wcrtomb.c
+++ b/gl/wcrtomb.c
@@ -1,5 +1,5 @@
1/* Convert wide character to multibyte character. 1/* Convert wide character to multibyte character.
2 Copyright (C) 2008-2025 Free Software Foundation, Inc. 2 Copyright (C) 2008-2026 Free Software Foundation, Inc.
3 Written by Bruno Haible <bruno@clisp.org>, 2008. 3 Written by Bruno Haible <bruno@clisp.org>, 2008.
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
@@ -36,7 +36,7 @@ wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
36 return (size_t)(-1); 36 return (size_t)(-1);
37 } 37 }
38 38
39#if !HAVE_WCRTOMB /* IRIX 6.5 */ \ 39#if !HAVE_WCRTOMB /* HP-UX 11.00, mingw */ \
40 || WCRTOMB_RETVAL_BUG /* Solaris 11.3, MSVC */ \ 40 || WCRTOMB_RETVAL_BUG /* Solaris 11.3, MSVC */ \
41 || WCRTOMB_C_LOCALE_BUG /* Android */ 41 || WCRTOMB_C_LOCALE_BUG /* Android */
42 if (s == NULL) 42 if (s == NULL)
@@ -62,7 +62,7 @@ wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
62# else 62# else
63 return wcrtomb (s, wc, ps); 63 return wcrtomb (s, wc, ps);
64# endif 64# endif
65#else /* IRIX 6.5 */ 65#else /* HP-UX 11.00, mingw */
66 /* Fallback for platforms that don't have wcrtomb(). 66 /* Fallback for platforms that don't have wcrtomb().
67 Implement on top of wctomb(). 67 Implement on top of wctomb().
68 This code is not multithread-safe. */ 68 This code is not multithread-safe. */