On Tue, Oct 19, 2010 at 11:16 AM, Mike McCormack
<mj.mccorm...@samsung.com> wrote:
> Hi Guys,
>
> Superficially tested... issue is if somebody does:
>
> close(fd);
> ecore_main_fd_handler_del(fdh);
>
> epoll can't remove the fd because it's already closed, so we get an EBADF
> from the kernel.
> Work around the broken case by issuing a WARN() and reinitializing ecore.

WARN takes no trailing \n

other than that, why do we need to reinit it? Just let the fdh handle
be removed from the list and never be considered anymore. I don't see
why we need to reinit it.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to