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@winehq.org Reporter: christopherwuy@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).a...