I filed an issue[1]. I think at this point I can drop UCRT-specific part of this patch series. If it gets fixed in UCRT eventually, I see no reason for mingw-w64 to need it.
Also, Pali suggested me to use a more descriptive comment than "; use replacement" in def files, I will include this in updated patches. - Kirill Makurin [1] https://developercommunity.visualstudio.com/t/mbrlen-and-mbrtowc-may-return-incorrect/10954455 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public