Joel VanderWerf wrote:
> What about something like
> 
> max_fd.times {|i| IO.for_fd(i).close rescue nil}

This won't do us any good. The goal isn't to close operating system file 
descriptors, it's to tell the existing IO objects that their associated 
file descriptors are no longer valid.