> Yeah but filedes == 0 when you use filehand (which is possibly a bug).
OK. This is the bug. Filedes should be -1. I don't know how I missed
that in my testing, because we are using filedes all over the place. I'll
fix this ASAP.
> OK, well it didn't work before, and it now does _when_ it is using
> filehand. I agree this it is still broken, though, but less so than
> before.
Agreed. The "best" way to fix it, IMHO, is to init filedes to -1 and make
the original check.
Ryan
_______________________________________________________________________
Ryan Bloom rbb@raleigh.ibm.com
4205 S Miami Blvd
RTP, NC 27709 It's a beautiful sight to see good dancers
doing simple steps. It's a painful sight to
see beginners doing complicated patterns.
|