1 the OPEN_MAX define has been removed in newer kernel headers so use the
2 proper method of getting the value dynamically
4 http://bugs.gentoo.org/195861
8 @@ -247,7 +247,7 @@ void do_fork(void)
12 - for (t = 0; t < OPEN_MAX; t++)
13 + for (t = 0; t < sysconf(_SC_OPEN_MAX); t++)