[Bug 39552] New: CreateDirectoryA's behavior with long path whose size max than MAX_PATH-12(248) differs from Windows.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 4 20:07:26 CST 2015


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

            Bug ID: 39552
           Summary: CreateDirectoryA's behavior with long path whose size
                    max than MAX_PATH-12(248) differs from Windows.
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: christopherwuy at gmail.com

On Windows, CreateDirectoryA fail when the path's size longer than
MAX_PATH-12(248) while Wine's implementation success.
According to MSDN[1], there is a default string size limit for paths of 248
characters. This limit is related to how the CreateDirectory function parses
paths.

[1]:https://msdn.microsoft.com/en-us/library/windows/desktop/aa363855(v=vs.85).aspx

-- 
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