[Bug 39552] New: CreateDirectoryA's behavior with long path whose size max than MAX_PATH-12(248) differs from Windows.
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(a)winehq.org Reporter: christopherwuy(a)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... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=39552 --- Comment #1 from Ken Thomases <ken(a)codeweavers.com> --- Is this a purely theoretical problem or is there some app that's actually affected by this? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=39552 --- Comment #2 from christopherwuy(a)gmail.com --- (In reply to Ken Thomases from comment #1)
Is this a purely theoretical problem or is there some app that's actually affected by this?
Nope. Maybe it is just a purely theoretical problem. I didn't find an application that depends on this implementation details. I found this detail because of the implementation of tr2::sys::Open_dir[1]. I think if it is impossible to create a directory whose size max than 248, the patch can be improved. [1]:http://source.winehq.org/git/wine.git/blobdiff/d8cc1dccba88a01e3eaacf958f88a... -- 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.
participants (1)
-
wine-bugs@winehq.org