On Tue, Jul 10, 2012 at 4:35 AM, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Mon, 9 Jul 2012 11:14:37 +0200 Lionel Orry <lionel.o...@gmail.com> said:
>
>> Hi devs,
>>
>> I noticed that cserve2 needs the accept4 call, which is not always
>> available (at least on my fedora 10 it isn't). I made a simple patch
>> to check for accept4 presence and disallow cserve2 compilation when
>> needed.
>>
>> Please have a look / correct / enhance and integrate...
>
> a much smaller patch and better way is to not use accept4() and do accept()
> +fcntl() to set FD_CLOEXEC. it's 1 more line of code and is more portable i
> guess. :) its also not less dangerous given the way the code works. i've put
> this in svn.
>

Great! Thank you raster.

Cheers
Lionel

> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to