Ticket #35612: patch-main.c.diff
File patch-main.c.diff, 439 bytes (added by ajdudman, 12 years ago) |
---|
-
main.c
old new 741 741 err(2, "getrlimit"); 742 742 } 743 743 #ifdef __APPLE__ 744 if (rl.rlim_max != RLIM_INFINITY) 745 rl.rlim_cur = rl.rlim_max; 746 else 747 rl.rlim_cur = OPEN_MAX; 744 if (rl.rlim_max > OPEN_MAX) 745 rl.rlim_max = OPEN_MAX; 746 rl.rlim_cur = rl.rlim_max; 748 747 #else /* !__APPLE__ */ 749 748 rl.rlim_cur = rl.rlim_max; 750 749 #endif /* __APPLE__ */