[Mono-dev] Win32 build broken

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Oct 6 04:28:30 EDT 2005


On Tue, 2005-10-04 at 15:22 +0200, Kornél Pál wrote:
> Hi,
> 
> Thanks for the fix.
> 
> ETXTBSY seems to be a POSIX error code while all the other error codes are
> Win32 error codes so I think this is an error in the code itself rather than
> a missed #if !PLATFORM_WIN32. According to the documentation of ETXTBSY it
> is an error that cannot occur on Win32 because of different desing of file
> handling. But I think the case that ETXTBSY describes is something that
> should be mapped to ERROR_ACCESS_DENIED.

It's more like a ERROR_SHARING_VIOLATION.

-Gonzalo





More information about the Mono-devel-list mailing list