[Mono-dev] IOMAP fix for CreateFile()

Rodrigo Kumpera kumpera at gmail.com
Tue Sep 15 15:01:53 EDT 2009


LGTM.
Can you check CopyFile and ReplaceFile as they mix _wapi_open and open as
well.

Thanks,
Rodrigo

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).
>
> Jeff
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090915/ca7e80df/attachment.html 


More information about the Mono-devel-list mailing list