[Mono-devel-list] File::Move(string,string) patch

Ben Maurer bmaurer at ximian.com
Sun Dec 12 17:02:41 EST 2004

On Sun, 2004-12-12 at 20:50 +0100, Jb Evain wrote:
> You're right.
> The MoveFile fonction from Windows API does not complains on moving a 
> file to itself.
> I think that in File::Move, you only need to remove the last check. The 
> io layer should also handle the case where the destination file exists 
> but that is not the same that the source.
> I let C hackers modify the io layer, do you want I to fill a bug report 
> in bugzilla or do you handle this ?

Can you please file a bug with the exact information on what the winapi
does for

      * Moving a file on top of an existing file
      * Moving a file on itself

I or someone else can fix it then. Don't have a C compiler on windows to
check this out.

-- Ben

More information about the Mono-devel-list mailing list