/[svn]/ircd-hybrid/src/ircd.c
ViewVC logotype

Diff of /ircd-hybrid/src/ircd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 641 by michael, Sun May 14 10:32:26 2006 UTC revision 642 by michael, Wed Jun 7 11:03:17 2006 UTC
# Line 412  check_pidfile(const char *filename) Line 412  check_pidfile(const char *filename)
412  #endif  #endif
413  }  }
414    
 /* setup_corefile()  
  *  
  * inputs       - nothing  
  * output       - nothing  
  * side effects - setups corefile to system limits.  
  * -kre  
  */  
 static void  
 setup_corefile(void)  
 {  
 #ifdef HAVE_SYS_RESOURCE_H  
   struct rlimit rlim; /* resource limits */  
   
   /* Set corefilesize to maximum */  
   if (!getrlimit(RLIMIT_CORE, &rlim))  
   {  
     rlim.rlim_cur = rlim.rlim_max;  
     setrlimit(RLIMIT_CORE, &rlim);  
   }  
 #endif  
 }  
   
415  /* init_ssl()  /* init_ssl()
416   *   *
417   * inputs       - nothing   * inputs       - nothing

Legend:
Removed from v.641  
changed lines
  Added in v.642

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28