[Mono-dev] [Patch] Report an error if src and dest are the same in Copy
kumpera at gmail.com
Sun Nov 29 18:05:11 EST 2009
Patch looks great, please commit.
On Fri, Nov 27, 2009 at 12:14 PM, Carlos Alberto Cortez <
calberto.cortez at gmail.com> wrote:
> Yes - sorry, I forgot to send it with the previous patch ;-)
> 2009/11/27 Rodrigo Kumpera <kumpera at gmail.com>
> 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