diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
| commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
| tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/wcrtomb.c | |
| parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
| download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz | |
Sync with the latest Gnulib code (d4ec02b3cc)
Diffstat (limited to 'gl/wcrtomb.c')
| -rw-r--r-- | gl/wcrtomb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/wcrtomb.c b/gl/wcrtomb.c index 48a6c8eb..197b020e 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-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2008-2024 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 |
| @@ -29,7 +29,7 @@ wcrtomb (char *s, wchar_t wc, mbstate_t *ps) | |||
| 29 | #undef wcrtomb | 29 | #undef wcrtomb |
| 30 | { | 30 | { |
| 31 | /* This implementation of wcrtomb supports only stateless encodings. | 31 | /* This implementation of wcrtomb supports only stateless encodings. |
| 32 | ps must be in the initial state. */ | 32 | ps must be in an initial state. */ |
| 33 | if (ps != NULL && !mbsinit (ps)) | 33 | if (ps != NULL && !mbsinit (ps)) |
| 34 | { | 34 | { |
| 35 | errno = EINVAL; | 35 | errno = EINVAL; |
