3 Feb
2017
3 Feb
'17
6:42 a.m.
Piotr Caban <piotr(a)codeweavers.com> wrote:
+ char path[16384] = {0}; ... + r = GetTempPathA(MAX_PATH, path); + ok(r, "GetTempPathA error: %u\n", GetLastError()); + lstrcatA(path, "testIOPendingFlag"); + r = CreateDirectoryA(path, NULL); + ok(r, "CreateDirectoryA error: %d\n", GetLastError());
Why path[MAX_PATH] is not enough? Also you need to remove the created directory at the end of the test. -- Dmitry.