On Tue, 15 Feb 2011 14:53:19 -0500 Mike Blumenkrantz <m...@zentific.com> said:

> On Tue, 15 Feb 2011 11:51:06 -0800
> "Enlightenment SVN" <no-re...@enlightenment.org> wrote:
> 
> > Log:
> > add more descriptive error messages for epoll flag mod failure
> >   
> > 
> > Author:       discomfitor
> > Date:         2011-02-15 11:51:06 -0800 (Tue, 15 Feb 2011)
> > New Revision: 57063
> > Trac:         http://trac.enlightenment.org/e/changeset/57063
> > 
> > Modified:
> >   trunk/ecore/src/lib/ecore/ecore_main.c 
> > 
> > Modified: trunk/ecore/src/lib/ecore/ecore_main.c
> > ===================================================================
> > --- trunk/ecore/src/lib/ecore/ecore_main.c  2011-02-15 18:58:02 UTC
> > (rev 57062) +++ trunk/ecore/src/lib/ecore/ecore_main.c      2011-02-15
> > 19:51:06 UTC (rev 57063) @@ -970,6 +970,8 @@
> >  EAPI void
> >  ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler,
> > Ecore_Fd_Handler_Flags flags) {
> > +   int ret;
> > +
> >     if (!ECORE_MAGIC_CHECK(fd_handler, ECORE_MAGIC_FD_HANDLER))
> >       {
> >          ECORE_MAGIC_FAIL(fd_handler, ECORE_MAGIC_FD_HANDLER,
> > @@ -977,9 +979,10 @@
> >          return;
> >       }
> >     fd_handler->flags = flags;
> > -   if (_ecore_main_fdh_poll_modify(fd_handler) < 0)
> > +   ret = _ecore_main_fdh_poll_modify(fd_handler);
> > +   if (ret < 0)
> >       {
> > -        ERR("Failed to mod epoll fd %d!", fd_handler->fd);
> > +        ERR("Failed to mod epoll fd %d: %s!", fd_handler->fd, strerror
> > (ret)); }
> >  }
> >  
> > 
> > 
> Not sure this really matters in 1.0, if anyone disagrees I can commit there
> too.

doesn't i'd say. need to actually cherry pick fixes fro trunk for a few things
sometime.

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


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to