[PATCH] [cmd, try2] move filename . deletes file

Alexandre Julliard julliard at winehq.org
Thu Jun 13 10:23:25 CDT 2013


Jason Edmeades <jason at edmeades.me.uk> writes:

> move is not tollerent of the source and destination being the same
> and happily removes the destination (after prompting) ready to
> move the file, only to appear shocked that the file is no longer
> there...
>
> This was sent originally where I compared filenames, and was given
> feedback to use a better system of equality. This now uses something
> the MSDN implies is the best way to tell for equivalent destinations

This should be done in MoveFile, and cmd should use that instead of
duplicating the checks.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list