On Mon, 9 Jul 2012 11:14:37 +0200 Lionel Orry <[email protected]> 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.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to