accept: always set O_NONBLOCK for accept()-ed sockets in 1.8
commit246cfe96f12ce06a5b504873789ada2efd288885
authorEric Wong <normalperson@yhbt.net>
Tue, 15 Nov 2011 21:18:32 +0000 (15 13:18 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 15 Nov 2011 21:18:32 +0000 (15 13:18 -0800)
tree02f9a8ed05e8bf2eac3b623160fd6b2dce54fc5a
parent4cef568a9d06033c295c1f4920918c6fed36a24d
accept: always set O_NONBLOCK for accept()-ed sockets in 1.8

This is mostly an implementation detail, but it's already
true on OpenBSD (and maybe other BSDs), and also requires
no additional syscalls on newer Linux systems.
ext/kgio/accept.c