Re: kernel32: Fix moving a file to the same one
29 Mar
2010
29 Mar
'10
2:44 p.m.
André Hentschel <nerv(a)dawncrow.de> writes:
diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c index 2b69e8c..d34b3a7 100644 --- a/dlls/kernel32/path.c +++ b/dlls/kernel32/path.c @@ -1031,6 +1031,9 @@ BOOL WINAPI MoveFileWithProgressW( LPCWSTR source, LPCWSTR dest, if (flag & MOVEFILE_WRITE_THROUGH) FIXME("MOVEFILE_WRITE_THROUGH unimplemented\n");
+ if (!strcmpiW( source, dest )) + return TRUE; /* we are done */ +
There's a lot more to this than simply comparing the specified paths. -- Alexandre Julliard julliard(a)winehq.org
5827
Age (days ago)
5827
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard