Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-18 Thread Christopher Michael
Marco Trevisan (Treviño) wrote: > Carsten Haitzler (The Rasterman) wrote: >> On Sat, 18 Apr 2009 01:01:00 +0200 "Marco Trevisan (Treviño)" >> >> said: >> >>> Andre Dieb wrote: Here's a patch for handling EBADF (Bad file descriptor) error after select() (following the thread "rando

Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-18 Thread Marco Trevisan (Treviño)
Carsten Haitzler (The Rasterman) wrote: > On Sat, 18 Apr 2009 01:01:00 +0200 "Marco Trevisan (Treviño)" > said: > >> Andre Dieb wrote: >>> Here's a patch for handling EBADF (Bad file descriptor) error after select() >>> (following the thread "random abort caused by ecore"). >>> >>> It uses fcntl(

Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-17 Thread The Rasterman
On Sat, 18 Apr 2009 01:01:00 +0200 "Marco Trevisan (Treviño)" said: > Andre Dieb wrote: > > Here's a patch for handling EBADF (Bad file descriptor) error after select() > > (following the thread "random abort caused by ecore"). > > > > It uses fcntl() for finding which fd raises EBADF. I tested

Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-17 Thread Andre Dieb
Attached patch removes the fprintfs. On Fri, Apr 17, 2009 at 8:01 PM, "Marco Trevisan (Treviño)" wrote: > Andre Dieb wrote: > > Here's a patch for handling EBADF (Bad file descriptor) error after > select() > > (following the thread "random abort caused by ecore"). > > > > It uses fcntl() for fin

Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-17 Thread Joerg Sonnenberger
On Fri, Apr 10, 2009 at 05:47:43AM -0300, Andre Dieb wrote: > Here's a patch for handling EBADF (Bad file descriptor) error after select() > (following the thread "random abort caused by ecore"). I'm not sure F_GETFD exists everywhere, but what about using F_GETFL? Joerg

Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-17 Thread Marco Trevisan (Treviño)
Andre Dieb wrote: > Here's a patch for handling EBADF (Bad file descriptor) error after select() > (following the thread "random abort caused by ecore"). > > It uses fcntl() for finding which fd raises EBADF. I tested the patch with > the attached program (somehow dirty but maybe shows the patch w

Re: [E-devel] [PATCH] ecore aborts on EBADF

2009-04-10 Thread The Rasterman
On Fri, 10 Apr 2009 05:47:43 -0300 Andre Dieb said: in svn :) > Hello, > > Here's a patch for handling EBADF (Bad file descriptor) error after select() > (following the thread "random abort caused by ecore"). > > It uses fcntl() for finding which fd raises EBADF. I tested the patch with > the

[E-devel] [PATCH] ecore aborts on EBADF

2009-04-10 Thread Andre Dieb
Hello, Here's a patch for handling EBADF (Bad file descriptor) error after select() (following the thread "random abort caused by ecore"). It uses fcntl() for finding which fd raises EBADF. I tested the patch with the attached program (somehow dirty but maybe shows the patch works). Please mail