Piotr Caban (@piotr) commented about dlls/msvcp140/tests/msvcp140.c:
int is_todo;
- } tests[] = {
{ "C", L"utf_\x00e4\x00cf\x00f6\x00df.txt", "utf_\xe4\xcf\xf6\xdf.txt" },
{ "de_DE", L"utf_\x00e4\x00cf\x00f6\x00df.txt", "utf_\xe4\xcf\xf6\xdf.txt" },
{ "de_DE.utf8", L"utf_\x00e4\x00cf\x00f6\x00df.txt", "utf_\xc3\xa4\xc3\x8f\xc3\xb6\xc3\x9f.txt", TRUE },
- };
- oldloc = p_setlocale(LC_ALL, NULL);
- for(i=0; i<ARRAY_SIZE(tests); i++) {
if(!p_setlocale(LC_ALL, tests[i].loc)) {
win_skip("skipping locale %s\n", tests[i].loc);
continue;
}
f = p__Fiopen_wchar(tests[i].wpath, OPENMODE_out, SH_DENYNO);
ok(!!f, "failed to create %s with locale %s\n", wine_dbgstr_w(tests[i].wpath), tests[i].loc);
if(f) p_fclose(f);
```suggestion:-0+0 p_fclose(f); ```