[PATCH] kernel32/tests: Add test of CreateDirectory with long path.

YongHao Hu christopherwuy at gmail.com
Thu Nov 5 00:43:04 CST 2015


On 15/11/5 下午12:48, Dmitry Timoshkov wrote:
> YongHao Hu <christopherwuy at gmail.com> wrote:
>> On Windows, CreateDirectoryA fail when the path's size longer than
>> MAX_PATH-12(248) while Wine's implementation succeed.[1]
>> [1]:https://bugs.winehq.org/show_bug.cgi?id=39552
> Is there an application that depends on this very strange implementation
> detail?
Nope. I didn't find an application that depends on this implementation 
But I found this detail because of the implementation of 
I think if it is impossible to create a directory whose size max than 
248, the patch can be improved.
>   Besides, the messages in the ok() calls sometimes are wrong.
Could you explain a bit more detail?
>   Also,
> you shouldn't test against TRUE/FALSE directly.
Do you have any good idea?
Thank you.


More information about the wine-devel mailing list