[quake3] Re: Dedicated server problems..

vincent at cojot.name vincent at cojot.name
Mon Nov 19 17:06:03 EST 2007


On Mon, 19 Nov 2007, Tim Angus wrote:

> On Mon, 19 Nov 2007 18:20:58 +0100 (CET) vincent at cojot.name wrote:
>>          // Make stdin reads non-blocking
>> -       fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY );
>> +       fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY |
>> O_NONBLOCK );
>
> O_NDELAY and O_NONBLOCK are usually the same thing, though evidently
> not on Solaris. Try r1215.

Perfect! Thank you very much. I found references that O_NDELAY and 
O_NONBLOCK are the same on Linux but they are known to differ on Solaris. 
Why that worked before r1144 is beyond my understanding.. :)
Thanks,

Vincent



More information about the quake3 mailing list