On 10/18/2018 07:51 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö <mar...@martin.st> > --- > This fixes a testcase like this: > > #include <stdio.h> > #include <locale.h> > #include <ctype.h> > > int main(int argc, char const *argv[]) > { > _locale_t loc = _create_locale(LC_ALL, "C"); > int ret = _isdigit_l('3', loc); > printf ("%d\n", ret); > return 0; > } > --- > mingw-w64-headers/crt/crtdefs.h | 6 ++++++ > mingw-w64-headers/crt/ctype.h | 5 +++++ > 2 files changed, 11 insertions(+)
The patch looks good to me. Thanks, Jacek _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public