Re: bug: pipe + O_NONBLOCK

2005-09-18 Thread Christopher Faylor
On Sun, Sep 18, 2005 at 09:36:57AM +0200, Alfred Minarik wrote: >Hello, > >Writing to full O_NONBLOCKed pipes should not block, but return -1 with >errno==EAGAIN. O_NONBLOCK is on write is currently not implemented for pipes. Sorry. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscrib

bug: pipe + O_NONBLOCK

2005-09-18 Thread Alfred Minarik
Hello, Writing to full O_NONBLOCKed pipes should not block, but return -1 with errno==EAGAIN. This should print "filling" for a while, then print "full" and exit. But at cygwin (1.5.18 on 2000/XP) it prints only "filling" and then hangs. #include #include int main() { int myp