[Bug 14901] MoveFile fails when used to recase some letters of the filename
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Mar 16 00:24:14 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=14901
--- Comment #20 from Dmitry Timoshkov <dmitry at codeweavers.com> 2009-03-16 00:24:14 ---
(In reply to comment #16)
> Created an attachment (id=19866)
--> (http://bugs.winehq.org/attachment.cgi?id=19866) [details]
> testcase
> Passes on Wine/2K/XP. Does that test what you want?
There is no need for such a complicated test, to create an uppercased
version of source it's enough to do
LCMapString(LCMAP_UPPERCASE, source, dest); and call MoveFile() once again.
But you still don't test the result of the the MoveFile() call, that's
not just a return value, that's also a file name of the target. That could be
accomplished by calling FindFirstFile(source) and comparing the returned
buffer with dest (in a case insensitive way).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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