[Mono-dev] IOMAP fix for CreateFile()
kumpera at gmail.com
Tue Sep 15 15:01:53 EDT 2009
Can you check CopyFile and ReplaceFile as they mix _wapi_open and open as
On Thu, Sep 10, 2009 at 5:06 PM, Jeffrey Stedfast <fejj at novell.com> wrote:
> In mono/io-layer/io.c's CreateFile() function, if the first call to
> _wapi_open() fails due to the path being a directory, it is retried w/o
> WRITE permissions. As far as I can tell, the fallback open() call should
> really be a _wapi_open() so that IOMAP magic is applied just as it was
> in the first attempt.
> Attached is a patch to fix that (assuming I'm correct in what it should
> be doing).
> 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