]> git.ipfire.org Git - thirdparty/gnulib.git/commit
mbrtowc: Fix handling of s==NULL on all possible platforms. master
authorBruno Haible <bruno@clisp.org>
Sat, 6 Jun 2026 19:04:18 +0000 (21:04 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 6 Jun 2026 19:12:29 +0000 (21:12 +0200)
commitf0263d06a96ae73a708d0fb981e9d39b67be5418
tree48535d206e9ca4f79a5fdd2cb65b976ad2adcaa2
parent231b990943b113d3869ce1f7447954bfcb91bb51
mbrtowc: Fix handling of s==NULL on all possible platforms.

* lib/mbrtowc.c (rpl_mbrtowc): Enable the s==NULL test also on platforms
that define only MBRTOWC_NUL_RETVAL_BUG or
MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ.
ChangeLog
lib/mbrtowc.c