ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/ircd.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/ircd.c (file contents):
Revision 8036 by michael, Mon Mar 13 18:48:59 2017 UTC vs.
Revision 8037 by michael, Fri Mar 17 22:28:04 2017 UTC

# 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   /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)