[Bug 856] scp hangs on FIFOs rather than erroring

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun May 2 15:25:26 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=856





------- Additional Comments From dtucker at zip.com.au  2004-05-02 15:25 -------
The last bit of the description of O_NONBLOCK (after the description of the
behaviour with FIFOs and block/char specials) is:

"Otherwise, the behavior of O_NONBLOCK is unspecified."

Can we rely on all platforms to do something reasonable with O_NONBLOCK on
normal files?  On the other hand, stat'ing it to find out if it's a FIFO or
device first is racy...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list