diff options
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; |
