always set FD_CLOEXEC if available
commitf824f4e13a13daf56439e16ecb3a62469a8c9bf0
authorEric Wong <normalperson@yhbt.net>
Sat, 28 Nov 2009 19:43:45 +0000 (28 11:43 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 28 Nov 2009 20:19:21 +0000 (28 12:19 -0800)
tree162c80491bdf7ad7d258479af092c23a5557c2be
parent2489368a624cff50a330238cf3c3f16eb0bd743c
always set FD_CLOEXEC if available

Some people fork processes, so it avoid hanging a connection
open because of that...
lib/rainbows.rb
lib/rainbows/revactor.rb
t/fork-sleep.ru [new file with mode: 0644]
t/t0011-close-on-exec-set.sh [new file with mode: 0755]