Piotr Caban (@piotr) commented about dlls/msvcrt/mbcs.c:
/*********************************************************************
_mbslwr(MSVCRT.@)
*/
_mbslwr_l(MSVCRT.@)
-unsigned char* CDECL _mbslwr(unsigned char* s) +unsigned char* CDECL _mbslwr_l(unsigned char* s, _locale_t locale) {
- pthreadmbcinfo mbcinfo; unsigned char *ret = s;
- if (!s)
- if (!MSVCRT_CHECK_PMT(s))
The function is not setting errno when s is NULL on Windows.