| # | Line 303 | Line 303 | check_pidfile(const char *filename) | |
|---|---|---|
| 303 | static void | |
| 304 | setup_corefile(void) | |
| 305 | { | |
| 306 | – | #ifdef HAVE_SYS_RESOURCE_H |
| 306 | struct rlimit rlim; /* resource limits */ | |
| 307 | ||
| 308 | /* Set corefilesize to maximum */ | |
| # | Line 312 | Line 311 | setup_corefile(void) | |
| 311 | rlim.rlim_cur = rlim.rlim_max; | |
| 312 | setrlimit(RLIMIT_CORE, &rlim); | |
| 313 | } | |
| 315 | – | #endif |
| 314 | } | |
| 315 | ||
| 316 | /* | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |