[Bug 2217] CreateDirectory bug

Wine Bugs wine-bugs at winehq.org
Tue Oct 4 09:02:21 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2217





------- Additional Comments From hardon at online.no  2005-04-10 09:02 -------
I dont know if Wine still have this bug.
A test for this exist in kernel32 directory winetests (the last test in
directory.c:test_CreateDirectoryA/W()):

    GetTempPathW(MAX_PATH, tmpdir);
    lstrcatW(tmpdir, tmp_dir_name);
    lstrcatW(tmpdir, slashW);
    lstrcatW(tmpdir, tmp_dir_name);
    ret = CreateDirectoryW(tmpdir, NULL);
    ok(ret == FALSE && GetLastError() == ERROR_PATH_NOT_FOUND, 
      "CreateDirectoryW with multiple nonexistent directories in path should
fail\n");
    ret = RemoveDirectoryW(tmpdir);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list