[Mono-dev] [Patch] Report an error if src and dest are the same in Copy
kumpera at gmail.com
Fri Nov 27 08:59:14 EST 2009
Do you have a test case for that?
On Fri, Nov 27, 2009 at 12:09 AM, Carlos Alberto Cortez <
calberto.cortez at gmail.com> wrote:
> The attached patch on CopyFile on our io-layer -which is used by
> System.IO.File.Copy- check if the source and the destination are the same,
> and in that case, report that the file is currently in use, and proceed to
> throw an exception. I tried to add this check directly in our C# side, but
> then moved the check to our io-layer side so we could take advantage of our
> IOMAP capability.
> Could anybody with experience in the io-layer review?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list