[Bug 38772] New: Incorrect GetLastError error of RemoveDirectoryA and CreateDirectory.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 17 11:06:58 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38772

            Bug ID: 38772
           Summary: Incorrect GetLastError error of RemoveDirectoryA and
                    CreateDirectory.
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: christopherwuy at gmail.com
      Distribution: ---

Created attachment 51705
  --> https://bugs.winehq.org/attachment.cgi?id=51705
patch

The following patch has a test which shows that RemoveDirectoryA will set
incorrect GetLastError error.
For example, using RemoveDirectoryA("D:\\not_exist_file") will lead to
ERROR_PATH_NOT_FOUND in windows while ERROR_FILE_NOT_FOUND in Wine.

I had tried to write a patch to fix it and it worked.
However, it causes a set of tests failed in ntdll.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list