On Mon, 31 Oct 2011 15:17:39 PDT ron minnich <rminn...@gmail.com> wrote: > > I did the lazy thing and commented out the erroneous close for now. > The easy fix is to track the fds to be closed in a map and then close > them all later. That's next. Another possibility is to allow '#d/*ctl' > to be writeable and implement a > closeonexec > control message for fds. But maybe that's just too much. It is > certainly easy to do, but is that kind of feature something we want to > add?
May be add `atexec(void(*fun)(void*))'?