[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Patch 875 Updates System.IO.File Exception throwing to be mo
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Patch 875 Updates System.IO.File Exception throwing to be more verbose |
Date: |
Sun, 22 Dec 2002 07:11:56 +1000 |
User-agent: |
KMail/1.4.3 |
On Sunday 22 December 2002 03:53 am, Aditya P. Bansod wrote:
> I know Win32 has a CopyFile API command, and I had thought of using mmap
> under Unix. Perhaps I'll look into those this weekend.
Just use a simple read buffer/write buffer implementation. If you get too
fancy, it will be harder to debug later. "Make it work, and then make it
work better". Speed isn't terribly important for this API, as it is used
very rarely. Also, mmap can be problematic on some platforms.
Cheers,
Rhys.