eric pouech (@epo) commented about dlls/ntdll/tests/directory.c:
- /* Clean up from prior aborted run, if any, then set up test files */
- ok( GetTempPathA(MAX_PATH, testdir), "couldn't get temp dir\n" );
- strcat(testdir, "mask.tmp");
- tear_down_mask_test(testdir);
- set_up_mask_test(testdir);
- pRtlMultiByteToUnicodeN(testdir_w, sizeof(testdir_w), NULL, testdir, strlen(testdir) + 1);
- if (!pRtlDosPathNameToNtPathName_U(testdir_w, &ntdirname, NULL, NULL))
- {
ok( 0, "RtlDosPathNametoNtPathName_U failed\n" );
goto done;
- }
- InitializeObjectAttributes(&attr, &ntdirname, OBJ_CASE_INSENSITIVE, 0, NULL);
- /* Open a handle for our test directory */
- status = pNtOpenFile(&dirh, SYNCHRONIZE | FILE_LIST_DIRECTORY, &attr, &io, FILE_SHARE_READ,
nitpick: indentation is wrong