On Fri, Sep 04, 2009 at 16:49:24 -0600, Michael Burk wrote:
> Sorry I didn't make that clear. The patch was the one-liner (datafd only). I
> ran it again with the Dustin's 2-liner with the same results.
Ah, interesting.
I wonder if doing a one-line patch against (say) indexfd instead would
also prevent the "index tee cannot write [" error message. That would
imply that just making _any_ fnctl(XX, F_GETFL,0) call is sufficient to
get the correct O_NONBLOCK behavior on _all_ file descriptors....
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - [email protected] - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239