https://bugs.winehq.org/show_bug.cgi?id=39269
--- Comment #9 from Lorenzo Ferrillo lorenzofer@live.it --- Ok, finding a way to trigger this use case was more challenging that I thought.
The reason is that the current code already handle a case (that is probably the most common case) where if I use a source wildchar and in the source folder there is a directory.
This is the case tested into the testcase so this is why this was never deetected before.
Basically if the folder is
.\file1 .\file2 .\nested\file3
the move operation using ".\*.*\0" as source work as intended
If the folder is .\file1
the move operation using ".\*.*\0" as source work as intended
If the folder is: .\file1 .\file2
then the move operation using ".\*.*\0" do not work as intended and fail
I will now submit this to the testbot.