[Mono-dev] Win32 build broken

Kornél Pál kornelpal at hotmail.com
Tue Oct 4 09:22:39 EDT 2005


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.

Kornél

----- Original Message -----
From: "Atsushi Eno" <atsushi at ximian.com>
To: "Kornél Pál" <kornelpal at hotmail.com>
Cc: "Gonzalo Paniagua Javier" <gonzalo at ximian.com>;
<mono-devel-list at lists.ximian.com>
Sent: Tuesday, October 04, 2005 3:08 PM
Subject: Re: [Mono-dev] Win32 build broken


> Hi,
>
> I made a quick build fix for r51154.
>
> Atsushi Eno
>
> Kornél Pál wrote:
>> Hi,
>>
>> The error is the following:
>> file-io.c: In function `get_error_from_g_file_error':
>> file-io.c:256: error: `ETXTBSY' undeclared (first use in this function)
>> file-io.c:256: error: (Each undeclared identifier is reported only once
>> file-io.c:256: error: for each function it appears in.)
>>
>> Kornél
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list